@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Configuration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that specifies an S3 location.
Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
S3Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The bucket name of the customer S3 bucket.
|
String |
getEncryptionOption()
The encryption option for the customer S3 location.
|
String |
getKmsKeyId()
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
|
String |
getObjectKeyPrefix()
The object key preview for the customer S3 location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The bucket name of the customer S3 bucket.
|
void |
setEncryptionOption(String encryptionOption)
The encryption option for the customer S3 location.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
|
void |
setObjectKeyPrefix(String objectKeyPrefix)
The object key preview for the customer S3 location.
|
String |
toString()
Returns a string representation of this object.
|
S3Configuration |
withBucketName(String bucketName)
The bucket name of the customer S3 bucket.
|
S3Configuration |
withEncryptionOption(S3EncryptionOption encryptionOption)
The encryption option for the customer S3 location.
|
S3Configuration |
withEncryptionOption(String encryptionOption)
The encryption option for the customer S3 location.
|
S3Configuration |
withKmsKeyId(String kmsKeyId)
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
|
S3Configuration |
withObjectKeyPrefix(String objectKeyPrefix)
The object key preview for the customer S3 location.
|
public void setBucketName(String bucketName)
The bucket name of the customer S3 bucket.
bucketName
- The bucket name of the customer S3 bucket.public String getBucketName()
The bucket name of the customer S3 bucket.
public S3Configuration withBucketName(String bucketName)
The bucket name of the customer S3 bucket.
bucketName
- The bucket name of the customer S3 bucket.public void setObjectKeyPrefix(String objectKeyPrefix)
The object key preview for the customer S3 location.
objectKeyPrefix
- The object key preview for the customer S3 location.public String getObjectKeyPrefix()
The object key preview for the customer S3 location.
public S3Configuration withObjectKeyPrefix(String objectKeyPrefix)
The object key preview for the customer S3 location.
objectKeyPrefix
- The object key preview for the customer S3 location.public void setEncryptionOption(String encryptionOption)
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
encryptionOption
- The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3
managed key or Amazon Web Services managed key.S3EncryptionOption
public String getEncryptionOption()
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
S3EncryptionOption
public S3Configuration withEncryptionOption(String encryptionOption)
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
encryptionOption
- The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3
managed key or Amazon Web Services managed key.S3EncryptionOption
public S3Configuration withEncryptionOption(S3EncryptionOption encryptionOption)
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
encryptionOption
- The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3
managed key or Amazon Web Services managed key.S3EncryptionOption
public void setKmsKeyId(String kmsKeyId)
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
kmsKeyId
- The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.public String getKmsKeyId()
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
public S3Configuration withKmsKeyId(String kmsKeyId)
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
kmsKeyId
- The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.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.