@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3LogsConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about S3 logs for a build project.
| Constructor and Description |
|---|
S3LogsConfig() |
| Modifier and Type | Method and Description |
|---|---|
S3LogsConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBucketOwnerAccess() |
Boolean |
getEncryptionDisabled()
Set to true if you do not want your S3 build log output encrypted.
|
String |
getLocation()
The ARN of an S3 bucket and the path prefix for S3 logs.
|
String |
getStatus()
The current status of the S3 build logs.
|
int |
hashCode() |
Boolean |
isEncryptionDisabled()
Set to true if you do not want your S3 build log output encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBucketOwnerAccess(String bucketOwnerAccess) |
void |
setEncryptionDisabled(Boolean encryptionDisabled)
Set to true if you do not want your S3 build log output encrypted.
|
void |
setLocation(String location)
The ARN of an S3 bucket and the path prefix for S3 logs.
|
void |
setStatus(String status)
The current status of the S3 build logs.
|
String |
toString()
Returns a string representation of this object.
|
S3LogsConfig |
withBucketOwnerAccess(BucketOwnerAccess bucketOwnerAccess) |
S3LogsConfig |
withBucketOwnerAccess(String bucketOwnerAccess) |
S3LogsConfig |
withEncryptionDisabled(Boolean encryptionDisabled)
Set to true if you do not want your S3 build log output encrypted.
|
S3LogsConfig |
withLocation(String location)
The ARN of an S3 bucket and the path prefix for S3 logs.
|
S3LogsConfig |
withStatus(LogsConfigStatusType status)
The current status of the S3 build logs.
|
S3LogsConfig |
withStatus(String status)
The current status of the S3 build logs.
|
public void setStatus(String 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.
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.
LogsConfigStatusTypepublic String getStatus()
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.
ENABLED: S3 build logs are enabled for this build project.
DISABLED: S3 build logs are not enabled for this build project.
LogsConfigStatusTypepublic S3LogsConfig withStatus(String 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.
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.
LogsConfigStatusTypepublic S3LogsConfig withStatus(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.
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.
LogsConfigStatusTypepublic void setLocation(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.
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.public String getLocation()
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 withLocation(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.
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.public void setEncryptionDisabled(Boolean encryptionDisabled)
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
encryptionDisabled - Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.public Boolean getEncryptionDisabled()
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
public S3LogsConfig withEncryptionDisabled(Boolean encryptionDisabled)
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
encryptionDisabled - Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.public Boolean isEncryptionDisabled()
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
public void setBucketOwnerAccess(String bucketOwnerAccess)
bucketOwnerAccess - BucketOwnerAccesspublic String getBucketOwnerAccess()
BucketOwnerAccesspublic S3LogsConfig withBucketOwnerAccess(String bucketOwnerAccess)
bucketOwnerAccess - BucketOwnerAccesspublic S3LogsConfig withBucketOwnerAccess(BucketOwnerAccess bucketOwnerAccess)
bucketOwnerAccess - BucketOwnerAccesspublic String toString()
toString in class ObjectObject.toString()public S3LogsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.