@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyDetailAction extends Object implements Serializable, Cloneable, StructuredPojo
Contains selection criteria for the lifecycle policy.
Constructor and Description |
---|
LifecyclePolicyDetailAction() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyDetailAction |
clone() |
boolean |
equals(Object obj) |
LifecyclePolicyDetailActionIncludeResources |
getIncludeResources()
Specifies the resources that the lifecycle policy applies to.
|
String |
getType()
Specifies the lifecycle action to take.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIncludeResources(LifecyclePolicyDetailActionIncludeResources includeResources)
Specifies the resources that the lifecycle policy applies to.
|
void |
setType(String type)
Specifies the lifecycle action to take.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyDetailAction |
withIncludeResources(LifecyclePolicyDetailActionIncludeResources includeResources)
Specifies the resources that the lifecycle policy applies to.
|
LifecyclePolicyDetailAction |
withType(LifecyclePolicyDetailActionType type)
Specifies the lifecycle action to take.
|
LifecyclePolicyDetailAction |
withType(String type)
Specifies the lifecycle action to take.
|
public void setType(String type)
Specifies the lifecycle action to take.
type
- Specifies the lifecycle action to take.LifecyclePolicyDetailActionType
public String getType()
Specifies the lifecycle action to take.
LifecyclePolicyDetailActionType
public LifecyclePolicyDetailAction withType(String type)
Specifies the lifecycle action to take.
type
- Specifies the lifecycle action to take.LifecyclePolicyDetailActionType
public LifecyclePolicyDetailAction withType(LifecyclePolicyDetailActionType type)
Specifies the lifecycle action to take.
type
- Specifies the lifecycle action to take.LifecyclePolicyDetailActionType
public void setIncludeResources(LifecyclePolicyDetailActionIncludeResources includeResources)
Specifies the resources that the lifecycle policy applies to.
includeResources
- Specifies the resources that the lifecycle policy applies to.public LifecyclePolicyDetailActionIncludeResources getIncludeResources()
Specifies the resources that the lifecycle policy applies to.
public LifecyclePolicyDetailAction withIncludeResources(LifecyclePolicyDetailActionIncludeResources includeResources)
Specifies the resources that the lifecycle policy applies to.
includeResources
- Specifies the resources that the lifecycle policy applies to.public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyDetailAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.