Class S3LogsConfig
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.S3LogsConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3LogsConfig.Builder,S3LogsConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3LogsConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BucketOwnerAccessbucketOwnerAccess()Returns the value of the BucketOwnerAccess property for this object.StringbucketOwnerAccessAsString()Returns the value of the BucketOwnerAccess property for this object.static S3LogsConfig.Builderbuilder()BooleanencryptionDisabled()Set to true if you do not want your S3 build log output encrypted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The ARN of an S3 bucket and the path prefix for S3 logs.List<SdkField<?>>sdkFields()static Class<? extends S3LogsConfig.Builder>serializableBuilderClass()LogsConfigStatusTypestatus()The current status of the S3 build logs.StringstatusAsString()The current status of the S3 build logs.S3LogsConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public 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,
statuswill returnLogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
LogsConfigStatusType
-
-
statusAsString
public 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,
statuswill returnLogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
LogsConfigStatusType
-
-
location
public 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 isbuild-log, then acceptable formats aremy-bucket/build-logorarn:aws:s3:::my-bucket/build-log.- Returns:
- 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 isbuild-log, then acceptable formats aremy-bucket/build-logorarn:aws:s3:::my-bucket/build-log.
-
encryptionDisabled
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.
- Returns:
- Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
-
bucketOwnerAccess
public final BucketOwnerAccess bucketOwnerAccess()
Returns the value of the BucketOwnerAccess property for this object.If the service returns an enum value that is not available in the current SDK version,
bucketOwnerAccesswill returnBucketOwnerAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombucketOwnerAccessAsString().- Returns:
- The value of the BucketOwnerAccess property for this object.
- See Also:
BucketOwnerAccess
-
bucketOwnerAccessAsString
public final String bucketOwnerAccessAsString()
Returns the value of the BucketOwnerAccess property for this object.If the service returns an enum value that is not available in the current SDK version,
bucketOwnerAccesswill returnBucketOwnerAccess.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombucketOwnerAccessAsString().- Returns:
- The value of the BucketOwnerAccess property for this object.
- See Also:
BucketOwnerAccess
-
toBuilder
public S3LogsConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3LogsConfig.Builder,S3LogsConfig>
-
builder
public static S3LogsConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3LogsConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-