@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecycleConfiguration extends Object implements Serializable, Cloneable
The container for the Outposts bucket lifecycle configuration.
Constructor and Description |
---|
LifecycleConfiguration() |
Modifier and Type | Method and Description |
---|---|
LifecycleConfiguration |
clone() |
boolean |
equals(Object obj) |
List<LifecycleRule> |
getRules()
A lifecycle rule for individual objects in an Outposts bucket.
|
int |
hashCode() |
void |
setRules(Collection<LifecycleRule> rules)
A lifecycle rule for individual objects in an Outposts bucket.
|
String |
toString()
Returns a string representation of this object.
|
LifecycleConfiguration |
withRules(Collection<LifecycleRule> rules)
A lifecycle rule for individual objects in an Outposts bucket.
|
LifecycleConfiguration |
withRules(LifecycleRule... rules)
A lifecycle rule for individual objects in an Outposts bucket.
|
public List<LifecycleRule> getRules()
A lifecycle rule for individual objects in an Outposts bucket.
public void setRules(Collection<LifecycleRule> rules)
A lifecycle rule for individual objects in an Outposts bucket.
rules
- A lifecycle rule for individual objects in an Outposts bucket.public LifecycleConfiguration withRules(LifecycleRule... rules)
A lifecycle rule for individual objects in an Outposts 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
- A lifecycle rule for individual objects in an Outposts bucket.public LifecycleConfiguration withRules(Collection<LifecycleRule> rules)
A lifecycle rule for individual objects in an Outposts bucket.
rules
- A lifecycle rule for individual objects in an Outposts bucket.public String toString()
toString
in class Object
Object.toString()
public LifecycleConfiguration clone()