@Generated(value="software.amazon.awssdk:codegen") public final class S3LogsConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3LogsConfig.Builder,S3LogsConfig>
Information about S3 logs for a build project.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3LogsConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
BucketOwnerAccess |
bucketOwnerAccess()
Returns the value of the BucketOwnerAccess property for this object.
|
String |
bucketOwnerAccessAsString()
Returns the value of the BucketOwnerAccess property for this object.
|
static S3LogsConfig.Builder |
builder() |
Boolean |
encryptionDisabled()
Set to true if you do not want your S3 build log output encrypted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
The ARN of an S3 bucket and the path prefix for S3 logs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3LogsConfig.Builder> |
serializableBuilderClass() |
LogsConfigStatusType |
status()
The current status of the S3 build logs.
|
String |
statusAsString()
The current status of the S3 build logs.
|
S3LogsConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LogsConfigStatusType status()
The current status of the S3 build logs. Valid values are:
ENABLED: S3 build logs are enabled for this build project.
DISABLED: S3 build logs are not enabled for this build project.
If the service returns an enum value that is not available in the current SDK version, status will
return LogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ENABLED: S3 build logs are enabled for this build project.
DISABLED: S3 build logs are not enabled for this build project.
LogsConfigStatusTypepublic final String statusAsString()
The current status of the S3 build logs. Valid values are:
ENABLED: S3 build logs are enabled for this build project.
DISABLED: S3 build logs are not enabled for this build project.
If the service returns an enum value that is not available in the current SDK version, status will
return LogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ENABLED: S3 build logs are enabled for this build project.
DISABLED: S3 build logs are not enabled for this build project.
LogsConfigStatusTypepublic final String location()
The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket,
and your path prefix is build-log, then acceptable formats are my-bucket/build-log or
arn:aws:s3:::my-bucket/build-log.
my-bucket, and your path prefix is build-log, then acceptable formats are
my-bucket/build-log or arn:aws:s3:::my-bucket/build-log.public final Boolean encryptionDisabled()
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
public final BucketOwnerAccess bucketOwnerAccess()
If the service returns an enum value that is not available in the current SDK version, bucketOwnerAccess
will return BucketOwnerAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from bucketOwnerAccessAsString().
BucketOwnerAccesspublic final String bucketOwnerAccessAsString()
If the service returns an enum value that is not available in the current SDK version, bucketOwnerAccess
will return BucketOwnerAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from bucketOwnerAccessAsString().
BucketOwnerAccesspublic S3LogsConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3LogsConfig.Builder,S3LogsConfig>public static S3LogsConfig.Builder builder()
public static Class<? extends S3LogsConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.