@Generated(value="software.amazon.awssdk:codegen") public final class AwsCloudFrontDistributionLogging extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCloudFrontDistributionLogging.Builder,AwsCloudFrontDistributionLogging>
A complex type that controls whether access logs are written for the CloudFront distribution.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCloudFrontDistributionLogging.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The S3 bucket to store the access logs in.
|
static AwsCloudFrontDistributionLogging.Builder |
builder() |
Boolean |
enabled()
With this field, you can enable or disable the selected distribution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeCookies()
Specifies whether you want CloudFront to include cookies in access logs.
|
String |
prefix()
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsCloudFrontDistributionLogging.Builder> |
serializableBuilderClass() |
AwsCloudFrontDistributionLogging.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
The S3 bucket to store the access logs in.
public final Boolean enabled()
With this field, you can enable or disable the selected distribution.
public final Boolean includeCookies()
Specifies whether you want CloudFront to include cookies in access logs.
public final String prefix()
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
public AwsCloudFrontDistributionLogging.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsCloudFrontDistributionLogging.Builder,AwsCloudFrontDistributionLogging>public static AwsCloudFrontDistributionLogging.Builder builder()
public static Class<? extends AwsCloudFrontDistributionLogging.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.