@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyDetailExclusionRules extends Object implements Serializable, Cloneable, StructuredPojo
Specifies resources that lifecycle policy actions should not apply to.
Constructor and Description |
---|
LifecyclePolicyDetailExclusionRules() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyDetailExclusionRules |
addTagMapEntry(String key,
String value)
Add a single TagMap entry
|
LifecyclePolicyDetailExclusionRules |
clearTagMapEntries()
Removes all the entries added into TagMap.
|
LifecyclePolicyDetailExclusionRules |
clone() |
boolean |
equals(Object obj) |
LifecyclePolicyDetailExclusionRulesAmis |
getAmis()
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
|
Map<String,String> |
getTagMap()
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that
have them.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmis(LifecyclePolicyDetailExclusionRulesAmis amis)
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
|
void |
setTagMap(Map<String,String> tagMap)
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that
have them.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyDetailExclusionRules |
withAmis(LifecyclePolicyDetailExclusionRulesAmis amis)
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
|
LifecyclePolicyDetailExclusionRules |
withTagMap(Map<String,String> tagMap)
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that
have them.
|
public Map<String,String> getTagMap()
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
public void setTagMap(Map<String,String> tagMap)
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
tagMap
- Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image
resources that have them.public LifecyclePolicyDetailExclusionRules withTagMap(Map<String,String> tagMap)
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
tagMap
- Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image
resources that have them.public LifecyclePolicyDetailExclusionRules addTagMapEntry(String key, String value)
public LifecyclePolicyDetailExclusionRules clearTagMapEntries()
public void setAmis(LifecyclePolicyDetailExclusionRulesAmis amis)
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
amis
- Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.public LifecyclePolicyDetailExclusionRulesAmis getAmis()
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
public LifecyclePolicyDetailExclusionRules withAmis(LifecyclePolicyDetailExclusionRulesAmis amis)
Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
amis
- Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyDetailExclusionRules clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.