@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecycleRuleFilter extends Object implements Serializable, Cloneable
The container for the filter of the lifecycle rule.
Constructor and Description |
---|
LifecycleRuleFilter() |
Modifier and Type | Method and Description |
---|---|
LifecycleRuleFilter |
clone() |
boolean |
equals(Object obj) |
LifecycleRuleAndOperator |
getAnd()
The container for the
AND condition for the lifecycle rule. |
String |
getPrefix()
Prefix identifying one or more objects to which the rule applies.
|
S3Tag |
getTag() |
int |
hashCode() |
void |
setAnd(LifecycleRuleAndOperator and)
The container for the
AND condition for the lifecycle rule. |
void |
setPrefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
|
void |
setTag(S3Tag tag) |
String |
toString()
Returns a string representation of this object.
|
LifecycleRuleFilter |
withAnd(LifecycleRuleAndOperator and)
The container for the
AND condition for the lifecycle rule. |
LifecycleRuleFilter |
withPrefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
|
LifecycleRuleFilter |
withTag(S3Tag tag) |
public void setPrefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
prefix
- Prefix identifying one or more objects to which the rule applies.public String getPrefix()
Prefix identifying one or more objects to which the rule applies.
public LifecycleRuleFilter withPrefix(String prefix)
Prefix identifying one or more objects to which the rule applies.
prefix
- Prefix identifying one or more objects to which the rule applies.public void setTag(S3Tag tag)
tag
- public S3Tag getTag()
public LifecycleRuleFilter withTag(S3Tag tag)
tag
- public void setAnd(LifecycleRuleAndOperator and)
The container for the AND
condition for the lifecycle rule.
and
- The container for the AND
condition for the lifecycle rule.public LifecycleRuleAndOperator getAnd()
The container for the AND
condition for the lifecycle rule.
AND
condition for the lifecycle rule.public LifecycleRuleFilter withAnd(LifecycleRuleAndOperator and)
The container for the AND
condition for the lifecycle rule.
and
- The container for the AND
condition for the lifecycle rule.public String toString()
toString
in class Object
Object.toString()
public LifecycleRuleFilter clone()