@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 |
---|---|
static S3LogsConfig.Builder |
builder() |
boolean |
equals(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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
LogsConfigStatusType
public 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.
LogsConfigStatusType
public 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 S3LogsConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3LogsConfig.Builder,S3LogsConfig>
public static S3LogsConfig.Builder builder()
public static Class<? extends S3LogsConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.