@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Config extends Object implements Serializable, Cloneable, StructuredPojo
S3 configuration for storing log data.
Constructor and Description |
---|
S3Config() |
Modifier and Type | Method and Description |
---|---|
S3Config |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
S3 bucket name.
|
String |
getKeyPrefix()
S3 prefix.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
S3 bucket name.
|
void |
setKeyPrefix(String keyPrefix)
S3 prefix.
|
String |
toString()
Returns a string representation of this object.
|
S3Config |
withBucketName(String bucketName)
S3 bucket name.
|
S3Config |
withKeyPrefix(String keyPrefix)
S3 prefix.
|
public void setBucketName(String bucketName)
S3 bucket name.
bucketName
- S3 bucket name.public String getBucketName()
S3 bucket name.
public S3Config withBucketName(String bucketName)
S3 bucket name.
bucketName
- S3 bucket name.public void setKeyPrefix(String keyPrefix)
S3 prefix.
keyPrefix
- S3 prefix.public String getKeyPrefix()
S3 prefix.
public S3Config withKeyPrefix(String keyPrefix)
S3 prefix.
keyPrefix
- S3 prefix.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.