@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyDetail extends Object implements Serializable, Cloneable, StructuredPojo
The configuration details for a lifecycle policy resource.
Constructor and Description |
---|
LifecyclePolicyDetail() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyDetail |
clone() |
boolean |
equals(Object obj) |
LifecyclePolicyDetailAction |
getAction()
Configuration details for the policy action.
|
LifecyclePolicyDetailExclusionRules |
getExclusionRules()
Additional rules to specify resources that should be exempt from policy actions.
|
LifecyclePolicyDetailFilter |
getFilter()
Specifies the resources that the lifecycle policy applies to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(LifecyclePolicyDetailAction action)
Configuration details for the policy action.
|
void |
setExclusionRules(LifecyclePolicyDetailExclusionRules exclusionRules)
Additional rules to specify resources that should be exempt from policy actions.
|
void |
setFilter(LifecyclePolicyDetailFilter filter)
Specifies the resources that the lifecycle policy applies to.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyDetail |
withAction(LifecyclePolicyDetailAction action)
Configuration details for the policy action.
|
LifecyclePolicyDetail |
withExclusionRules(LifecyclePolicyDetailExclusionRules exclusionRules)
Additional rules to specify resources that should be exempt from policy actions.
|
LifecyclePolicyDetail |
withFilter(LifecyclePolicyDetailFilter filter)
Specifies the resources that the lifecycle policy applies to.
|
public void setAction(LifecyclePolicyDetailAction action)
Configuration details for the policy action.
action
- Configuration details for the policy action.public LifecyclePolicyDetailAction getAction()
Configuration details for the policy action.
public LifecyclePolicyDetail withAction(LifecyclePolicyDetailAction action)
Configuration details for the policy action.
action
- Configuration details for the policy action.public void setFilter(LifecyclePolicyDetailFilter filter)
Specifies the resources that the lifecycle policy applies to.
filter
- Specifies the resources that the lifecycle policy applies to.public LifecyclePolicyDetailFilter getFilter()
Specifies the resources that the lifecycle policy applies to.
public LifecyclePolicyDetail withFilter(LifecyclePolicyDetailFilter filter)
Specifies the resources that the lifecycle policy applies to.
filter
- Specifies the resources that the lifecycle policy applies to.public void setExclusionRules(LifecyclePolicyDetailExclusionRules exclusionRules)
Additional rules to specify resources that should be exempt from policy actions.
exclusionRules
- Additional rules to specify resources that should be exempt from policy actions.public LifecyclePolicyDetailExclusionRules getExclusionRules()
Additional rules to specify resources that should be exempt from policy actions.
public LifecyclePolicyDetail withExclusionRules(LifecyclePolicyDetailExclusionRules exclusionRules)
Additional rules to specify resources that should be exempt from policy actions.
exclusionRules
- Additional rules to specify resources that should be exempt from policy actions.public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.