public class S3Config
extends java.lang.Object
implements java.io.Serializable
Information about the S3 storage type.
| Constructor and Description |
|---|
S3Config() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBucketName()
The S3 bucket name.
|
java.lang.String |
getBucketPrefix()
The S3 bucket prefix.
|
EncryptionConfig |
getEncryptionConfig()
The S3 encryption configuration.
|
int |
hashCode() |
void |
setBucketName(java.lang.String bucketName)
The S3 bucket name.
|
void |
setBucketPrefix(java.lang.String bucketPrefix)
The S3 bucket prefix.
|
void |
setEncryptionConfig(EncryptionConfig encryptionConfig)
The S3 encryption configuration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Config |
withBucketName(java.lang.String bucketName)
The S3 bucket name.
|
S3Config |
withBucketPrefix(java.lang.String bucketPrefix)
The S3 bucket prefix.
|
S3Config |
withEncryptionConfig(EncryptionConfig encryptionConfig)
The S3 encryption configuration.
|
public java.lang.String getBucketName()
The S3 bucket name.
Constraints:
Length: 1 - 128
The S3 bucket name.
public void setBucketName(java.lang.String bucketName)
The S3 bucket name.
Constraints:
Length: 1 - 128
bucketName - The S3 bucket name.
public S3Config withBucketName(java.lang.String bucketName)
The S3 bucket name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
bucketName - The S3 bucket name.
public java.lang.String getBucketPrefix()
The S3 bucket prefix.
Constraints:
Length: 1 - 128
The S3 bucket prefix.
public void setBucketPrefix(java.lang.String bucketPrefix)
The S3 bucket prefix.
Constraints:
Length: 1 - 128
bucketPrefix - The S3 bucket prefix.
public S3Config withBucketPrefix(java.lang.String bucketPrefix)
The S3 bucket prefix.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
bucketPrefix - The S3 bucket prefix.
public EncryptionConfig getEncryptionConfig()
The S3 encryption configuration.
The S3 encryption configuration.
public void setEncryptionConfig(EncryptionConfig encryptionConfig)
The S3 encryption configuration.
encryptionConfig - The S3 encryption configuration.
public S3Config withEncryptionConfig(EncryptionConfig encryptionConfig)
The S3 encryption configuration.
Returns a reference to this object so that method calls can be chained together.
encryptionConfig - The S3 encryption configuration.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.