@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyDetailActionIncludeResources extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how the lifecycle policy should apply actions to selected resources.
Constructor and Description |
---|
LifecyclePolicyDetailActionIncludeResources() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyDetailActionIncludeResources |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAmis()
Specifies whether the lifecycle action should apply to distributed AMIs.
|
Boolean |
getContainers()
Specifies whether the lifecycle action should apply to distributed containers.
|
Boolean |
getSnapshots()
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
|
int |
hashCode() |
Boolean |
isAmis()
Specifies whether the lifecycle action should apply to distributed AMIs.
|
Boolean |
isContainers()
Specifies whether the lifecycle action should apply to distributed containers.
|
Boolean |
isSnapshots()
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmis(Boolean amis)
Specifies whether the lifecycle action should apply to distributed AMIs.
|
void |
setContainers(Boolean containers)
Specifies whether the lifecycle action should apply to distributed containers.
|
void |
setSnapshots(Boolean snapshots)
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyDetailActionIncludeResources |
withAmis(Boolean amis)
Specifies whether the lifecycle action should apply to distributed AMIs.
|
LifecyclePolicyDetailActionIncludeResources |
withContainers(Boolean containers)
Specifies whether the lifecycle action should apply to distributed containers.
|
LifecyclePolicyDetailActionIncludeResources |
withSnapshots(Boolean snapshots)
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
|
public LifecyclePolicyDetailActionIncludeResources()
public void setAmis(Boolean amis)
Specifies whether the lifecycle action should apply to distributed AMIs.
amis
- Specifies whether the lifecycle action should apply to distributed AMIs.public Boolean getAmis()
Specifies whether the lifecycle action should apply to distributed AMIs.
public LifecyclePolicyDetailActionIncludeResources withAmis(Boolean amis)
Specifies whether the lifecycle action should apply to distributed AMIs.
amis
- Specifies whether the lifecycle action should apply to distributed AMIs.public Boolean isAmis()
Specifies whether the lifecycle action should apply to distributed AMIs.
public void setSnapshots(Boolean snapshots)
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
snapshots
- Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.public Boolean getSnapshots()
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
public LifecyclePolicyDetailActionIncludeResources withSnapshots(Boolean snapshots)
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
snapshots
- Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.public Boolean isSnapshots()
Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
public void setContainers(Boolean containers)
Specifies whether the lifecycle action should apply to distributed containers.
containers
- Specifies whether the lifecycle action should apply to distributed containers.public Boolean getContainers()
Specifies whether the lifecycle action should apply to distributed containers.
public LifecyclePolicyDetailActionIncludeResources withContainers(Boolean containers)
Specifies whether the lifecycle action should apply to distributed containers.
containers
- Specifies whether the lifecycle action should apply to distributed containers.public Boolean isContainers()
Specifies whether the lifecycle action should apply to distributed containers.
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyDetailActionIncludeResources clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.