@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A value to use for the filter.
| Constructor and Description |
|---|
AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails() |
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails()
public void setPrefix(String prefix)
Prefix text for matching objects.
prefix - Prefix text for matching objects.public String getPrefix()
Prefix text for matching objects.
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails withPrefix(String prefix)
Prefix text for matching objects.
prefix - Prefix text for matching objects.public void setTag(AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails tag)
A tag that is assigned to matching objects.
tag - A tag that is assigned to matching objects.public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails getTag()
A tag that is assigned to matching objects.
public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails withTag(AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails tag)
A tag that is assigned to matching objects.
tag - A tag that is assigned to matching objects.public void setType(String type)
The type of filter value. Valid values are LifecyclePrefixPredicate or
LifecycleTagPredicate.
type - The type of filter value. Valid values are LifecyclePrefixPredicate or
LifecycleTagPredicate.public String getType()
The type of filter value. Valid values are LifecyclePrefixPredicate or
LifecycleTagPredicate.
LifecyclePrefixPredicate or
LifecycleTagPredicate.public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails withType(String type)
The type of filter value. Valid values are LifecyclePrefixPredicate or
LifecycleTagPredicate.
type - The type of filter value. Valid values are LifecyclePrefixPredicate or
LifecycleTagPredicate.public String toString()
toString in class ObjectObject.toString()public AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.