@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketBucketLifecycleConfigurationDetails extends Object implements Serializable, Cloneable, StructuredPojo
The lifecycle configuration for the objects in the S3 bucket.
Constructor and Description |
---|
AwsS3BucketBucketLifecycleConfigurationDetails() |
Modifier and Type | Method and Description |
---|---|
AwsS3BucketBucketLifecycleConfigurationDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsS3BucketBucketLifecycleConfigurationRulesDetails> |
getRules()
The lifecycle rules.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRules(Collection<AwsS3BucketBucketLifecycleConfigurationRulesDetails> rules)
The lifecycle rules.
|
String |
toString()
Returns a string representation of this object.
|
AwsS3BucketBucketLifecycleConfigurationDetails |
withRules(AwsS3BucketBucketLifecycleConfigurationRulesDetails... rules)
The lifecycle rules.
|
AwsS3BucketBucketLifecycleConfigurationDetails |
withRules(Collection<AwsS3BucketBucketLifecycleConfigurationRulesDetails> rules)
The lifecycle rules.
|
public AwsS3BucketBucketLifecycleConfigurationDetails()
public List<AwsS3BucketBucketLifecycleConfigurationRulesDetails> getRules()
The lifecycle rules.
public void setRules(Collection<AwsS3BucketBucketLifecycleConfigurationRulesDetails> rules)
The lifecycle rules.
rules
- The lifecycle rules.public AwsS3BucketBucketLifecycleConfigurationDetails withRules(AwsS3BucketBucketLifecycleConfigurationRulesDetails... rules)
The lifecycle rules.
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 lifecycle rules.public AwsS3BucketBucketLifecycleConfigurationDetails withRules(Collection<AwsS3BucketBucketLifecycleConfigurationRulesDetails> rules)
The lifecycle rules.
rules
- The lifecycle rules.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketBucketLifecycleConfigurationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.