@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Boolean enabled()
Specifies whether access logs are enabled for the load balancer.
public String s3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.
public 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 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AccessLog.Builder,AccessLog>
public static AccessLog.Builder builder()
public static Class<? extends AccessLog.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.