@Generated(value="software.amazon.awssdk:codegen") public final class AccessLog extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessLog.Builder,AccessLog>
Information about the AccessLog attribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessLog.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessLog.Builder |
builder() |
Integer |
emitInterval()
The interval for publishing the access logs.
|
Boolean |
enabled()
Specifies whether access logs are enabled for the load balancer.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
|
String |
s3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessLog.Builder> |
serializableBuilderClass() |
AccessLog.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean enabled()
Specifies whether access logs are enabled for the load balancer.
public final String s3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
public final Integer emitInterval()
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
Default: 60 minutes
public final String s3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod. If
the prefix is not provided, the log is placed at the root level of the bucket.
my-bucket-prefix/prod. If the prefix is not provided, the log is placed at the root level of
the bucket.public AccessLog.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessLog.Builder,AccessLog>public static AccessLog.Builder builder()
public static Class<? extends AccessLog.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.