@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 |
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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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; useful for testing and debugging.
|
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.