@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for S3 bucket log delivery.
Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
S3Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the S3 bucket to deliver logs to.
|
Boolean |
getEnabled()
Indicates whether log delivery to the S3 bucket is enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether log delivery to the S3 bucket is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The name of the S3 bucket to deliver logs to.
|
void |
setEnabled(Boolean enabled)
Indicates whether log delivery to the S3 bucket is enabled.
|
String |
toString()
Returns a string representation of this object.
|
S3Configuration |
withBucketName(String bucketName)
The name of the S3 bucket to deliver logs to.
|
S3Configuration |
withEnabled(Boolean enabled)
Indicates whether log delivery to the S3 bucket is enabled.
|
public void setBucketName(String bucketName)
The name of the S3 bucket to deliver logs to.
bucketName
- The name of the S3 bucket to deliver logs to.public String getBucketName()
The name of the S3 bucket to deliver logs to.
public S3Configuration withBucketName(String bucketName)
The name of the S3 bucket to deliver logs to.
bucketName
- The name of the S3 bucket to deliver logs to.public void setEnabled(Boolean enabled)
Indicates whether log delivery to the S3 bucket is enabled.
enabled
- Indicates whether log delivery to the S3 bucket is enabled.public Boolean getEnabled()
Indicates whether log delivery to the S3 bucket is enabled.
public S3Configuration withEnabled(Boolean enabled)
Indicates whether log delivery to the S3 bucket is enabled.
enabled
- Indicates whether log delivery to the S3 bucket is enabled.public Boolean isEnabled()
Indicates whether log delivery to the S3 bucket is enabled.
public String toString()
toString
in class Object
Object.toString()
public S3Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.