@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Details on S3 location for error reports that result from running a query.
Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
S3Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
Name of the S3 bucket under which error reports will be created.
|
String |
getEncryptionOption()
Encryption at rest options for the error reports.
|
String |
getObjectKeyPrefix()
Prefix for the error report key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
Name of the S3 bucket under which error reports will be created.
|
void |
setEncryptionOption(String encryptionOption)
Encryption at rest options for the error reports.
|
void |
setObjectKeyPrefix(String objectKeyPrefix)
Prefix for the error report key.
|
String |
toString()
Returns a string representation of this object.
|
S3Configuration |
withBucketName(String bucketName)
Name of the S3 bucket under which error reports will be created.
|
S3Configuration |
withEncryptionOption(S3EncryptionOption encryptionOption)
Encryption at rest options for the error reports.
|
S3Configuration |
withEncryptionOption(String encryptionOption)
Encryption at rest options for the error reports.
|
S3Configuration |
withObjectKeyPrefix(String objectKeyPrefix)
Prefix for the error report key.
|
public void setBucketName(String bucketName)
Name of the S3 bucket under which error reports will be created.
bucketName
- Name of the S3 bucket under which error reports will be created.public String getBucketName()
Name of the S3 bucket under which error reports will be created.
public S3Configuration withBucketName(String bucketName)
Name of the S3 bucket under which error reports will be created.
bucketName
- Name of the S3 bucket under which error reports will be created.public void setObjectKeyPrefix(String objectKeyPrefix)
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
objectKeyPrefix
- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.public String getObjectKeyPrefix()
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
public S3Configuration withObjectKeyPrefix(String objectKeyPrefix)
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
objectKeyPrefix
- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.public void setEncryptionOption(String encryptionOption)
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
encryptionOption
- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will
choose SSE_S3 as default.S3EncryptionOption
public String getEncryptionOption()
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
S3EncryptionOption
public S3Configuration withEncryptionOption(String encryptionOption)
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
encryptionOption
- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will
choose SSE_S3 as default.S3EncryptionOption
public S3Configuration withEncryptionOption(S3EncryptionOption encryptionOption)
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
encryptionOption
- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will
choose SSE_S3 as default.S3EncryptionOption
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.