@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketServerSideEncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The encryption configuration for the S3 bucket.
| Constructor and Description |
|---|
AwsS3BucketServerSideEncryptionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AwsS3BucketServerSideEncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
List<AwsS3BucketServerSideEncryptionRule> |
getRules()
The encryption rules that are applied to the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRules(Collection<AwsS3BucketServerSideEncryptionRule> rules)
The encryption rules that are applied to the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketServerSideEncryptionConfiguration |
withRules(AwsS3BucketServerSideEncryptionRule... rules)
The encryption rules that are applied to the S3 bucket.
|
AwsS3BucketServerSideEncryptionConfiguration |
withRules(Collection<AwsS3BucketServerSideEncryptionRule> rules)
The encryption rules that are applied to the S3 bucket.
|
public AwsS3BucketServerSideEncryptionConfiguration()
public List<AwsS3BucketServerSideEncryptionRule> getRules()
The encryption rules that are applied to the S3 bucket.
public void setRules(Collection<AwsS3BucketServerSideEncryptionRule> rules)
The encryption rules that are applied to the S3 bucket.
rules - The encryption rules that are applied to the S3 bucket.public AwsS3BucketServerSideEncryptionConfiguration withRules(AwsS3BucketServerSideEncryptionRule... rules)
The encryption rules that are applied to the S3 bucket.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the
existing values.
rules - The encryption rules that are applied to the S3 bucket.public AwsS3BucketServerSideEncryptionConfiguration withRules(Collection<AwsS3BucketServerSideEncryptionRule> rules)
The encryption rules that are applied to the S3 bucket.
rules - The encryption rules that are applied to the S3 bucket.public String toString()
toString in class ObjectObject.toString()public AwsS3BucketServerSideEncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.