public class LifecycleConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
LifecycleConfig.Expiration |
class |
LifecycleConfig.Rule |
class |
LifecycleConfig.TimeEvent |
class |
LifecycleConfig.Transition |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STORAGE_CLASS_GLACIER |
Constructor and Description |
---|
LifecycleConfig() |
LifecycleConfig(java.util.List<LifecycleConfig.Rule> rules) |
Modifier and Type | Method and Description |
---|---|
void |
addRule(LifecycleConfig.Rule rule) |
boolean |
equals(java.lang.Object o) |
java.util.List<LifecycleConfig.Rule> |
getRules() |
int |
hashCode() |
LifecycleConfig.Rule |
newRule(java.lang.String id,
java.lang.String prefix,
java.lang.Boolean enabled) |
java.lang.String |
toXml() |
public static final java.lang.String STORAGE_CLASS_GLACIER
public LifecycleConfig(java.util.List<LifecycleConfig.Rule> rules)
public LifecycleConfig()
public java.util.List<LifecycleConfig.Rule> getRules()
public void addRule(LifecycleConfig.Rule rule)
public LifecycleConfig.Rule newRule(java.lang.String id, java.lang.String prefix, java.lang.Boolean enabled)
public java.lang.String toXml() throws javax.xml.parsers.ParserConfigurationException, javax.xml.parsers.FactoryConfigurationError, javax.xml.transform.TransformerException
javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object