@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration specifing an S3 location.
Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
S3Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
>Bucket name of the customer S3 bucket.
|
String |
getEncryptionOption()
Encryption option for the customer s3 location.
|
String |
getKmsKeyId()
KMS key id for the customer s3 location when encrypting with a KMS managed key.
|
String |
getObjectKeyPrefix()
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)
>Bucket name of the customer S3 bucket.
|
void |
setEncryptionOption(String encryptionOption)
Encryption option for the customer s3 location.
|
void |
setKmsKeyId(String kmsKeyId)
KMS key id for the customer s3 location when encrypting with a KMS managed key.
|
void |
setObjectKeyPrefix(String objectKeyPrefix)
Object key preview for the customer S3 location.
|
String |
toString()
Returns a string representation of this object.
|
S3Configuration |
withBucketName(String bucketName)
>Bucket name of the customer S3 bucket.
|
S3Configuration |
withEncryptionOption(S3EncryptionOption encryptionOption)
Encryption option for the customer s3 location.
|
S3Configuration |
withEncryptionOption(String encryptionOption)
Encryption option for the customer s3 location.
|
S3Configuration |
withKmsKeyId(String kmsKeyId)
KMS key id for the customer s3 location when encrypting with a KMS managed key.
|
S3Configuration |
withObjectKeyPrefix(String objectKeyPrefix)
Object key preview for the customer S3 location.
|
public void setBucketName(String bucketName)
>Bucket name of the customer S3 bucket.
bucketName
- >Bucket name of the customer S3 bucket.public String getBucketName()
>Bucket name of the customer S3 bucket.
public S3Configuration withBucketName(String bucketName)
>Bucket name of the customer S3 bucket.
bucketName
- >Bucket name of the customer S3 bucket.public void setObjectKeyPrefix(String objectKeyPrefix)
Object key preview for the customer S3 location.
objectKeyPrefix
- Object key preview for the customer S3 location.public String getObjectKeyPrefix()
Object key preview for the customer S3 location.
public S3Configuration withObjectKeyPrefix(String objectKeyPrefix)
Object key preview for the customer S3 location.
objectKeyPrefix
- Object key preview for the customer S3 location.public void setEncryptionOption(String encryptionOption)
Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.
encryptionOption
- Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed
key or KMS managed key.S3EncryptionOption
public String getEncryptionOption()
Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.
S3EncryptionOption
public S3Configuration withEncryptionOption(String encryptionOption)
Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.
encryptionOption
- Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed
key or KMS managed key.S3EncryptionOption
public S3Configuration withEncryptionOption(S3EncryptionOption encryptionOption)
Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.
encryptionOption
- Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed
key or KMS managed key.S3EncryptionOption
public void setKmsKeyId(String kmsKeyId)
KMS key id for the customer s3 location when encrypting with a KMS managed key.
kmsKeyId
- KMS key id for the customer s3 location when encrypting with a KMS managed key.public String getKmsKeyId()
KMS key id for the customer s3 location when encrypting with a KMS managed key.
public S3Configuration withKmsKeyId(String kmsKeyId)
KMS key id for the customer s3 location when encrypting with a KMS managed key.
kmsKeyId
- KMS key id for the customer s3 location when encrypting with a KMS 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.