@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the filter.
Constructor and Description |
---|
AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails() |
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails()
public List<AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails> getOperands()
The values to use for the filter.
public void setOperands(Collection<AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails> operands)
The values to use for the filter.
operands
- The values to use for the filter.public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails withOperands(AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails... operands)
The values to use for the filter.
NOTE: This method appends the values to the existing list (if any). Use
setOperands(java.util.Collection)
or withOperands(java.util.Collection)
if you want to override
the existing values.
operands
- The values to use for the filter.public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails withOperands(Collection<AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails> operands)
The values to use for the filter.
operands
- The values to use for the filter.public void setPrefix(String prefix)
A prefix filter.
prefix
- A prefix filter.public String getPrefix()
A prefix filter.
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails withPrefix(String prefix)
A prefix filter.
prefix
- A prefix filter.public void setTag(AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails tag)
A tag filter.
tag
- A tag filter.public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails getTag()
A tag filter.
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails withTag(AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails tag)
A tag filter.
tag
- A tag filter.public void setType(String type)
Whether to use AND
or OR
to join the operands.
type
- Whether to use AND
or OR
to join the operands.public String getType()
Whether to use AND
or OR
to join the operands.
AND
or OR
to join the operands.public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails withType(String type)
Whether to use AND
or OR
to join the operands.
type
- Whether to use AND
or OR
to join the operands.public String toString()
toString
in class Object
Object.toString()
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.