public class LifecycleConfig.Rule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
enabled |
protected LifecycleConfig.Expiration |
expiration |
protected java.lang.String |
id |
protected java.lang.String |
prefix |
protected LifecycleConfig.Transition |
transition |
Constructor and Description |
---|
Rule() |
Rule(java.lang.String id,
java.lang.String prefix,
java.lang.Boolean enabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getEnabled() |
LifecycleConfig.Expiration |
getExpiration() |
java.lang.String |
getId() |
java.lang.String |
getPrefix() |
LifecycleConfig.Transition |
getTransition() |
int |
hashCode() |
LifecycleConfig.Expiration |
newExpiration() |
LifecycleConfig.Transition |
newTransition() |
void |
setEnabled(java.lang.Boolean enabled) |
void |
setExpiration(LifecycleConfig.Expiration expiration) |
void |
setId(java.lang.String id) |
void |
setPrefix(java.lang.String prefix) |
void |
setTransition(LifecycleConfig.Transition transition) |
protected java.lang.String id
protected java.lang.String prefix
protected java.lang.Boolean enabled
protected LifecycleConfig.Transition transition
protected LifecycleConfig.Expiration expiration
public Rule()
public Rule(java.lang.String id, java.lang.String prefix, java.lang.Boolean enabled)
public LifecycleConfig.Expiration newExpiration()
public LifecycleConfig.Transition newTransition()
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
public LifecycleConfig.Transition getTransition()
public void setTransition(LifecycleConfig.Transition transition)
public LifecycleConfig.Expiration getExpiration()
public void setExpiration(LifecycleConfig.Expiration expiration)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object