@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyDetailExclusionRulesAmis extends Object implements Serializable, Cloneable, StructuredPojo
Defines criteria for AMIs that are excluded from lifecycle actions.
| Constructor and Description |
|---|
LifecyclePolicyDetailExclusionRulesAmis() |
| Modifier and Type | Method and Description |
|---|---|
LifecyclePolicyDetailExclusionRulesAmis |
addTagMapEntry(String key,
String value)
Add a single TagMap entry
|
LifecyclePolicyDetailExclusionRulesAmis |
clearTagMapEntries()
Removes all the entries added into TagMap.
|
LifecyclePolicyDetailExclusionRulesAmis |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsPublic()
Configures whether public AMIs are excluded from the lifecycle action.
|
LifecyclePolicyDetailExclusionRulesAmisLastLaunched |
getLastLaunched()
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
|
List<String> |
getRegions()
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
|
List<String> |
getSharedAccounts()
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
|
Map<String,String> |
getTagMap()
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
|
int |
hashCode() |
Boolean |
isPublic()
Configures whether public AMIs are excluded from the lifecycle action.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setIsPublic(Boolean isPublic)
Configures whether public AMIs are excluded from the lifecycle action.
|
void |
setLastLaunched(LifecyclePolicyDetailExclusionRulesAmisLastLaunched lastLaunched)
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
|
void |
setRegions(Collection<String> regions)
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
|
void |
setSharedAccounts(Collection<String> sharedAccounts)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
|
void |
setTagMap(Map<String,String> tagMap)
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyDetailExclusionRulesAmis |
withIsPublic(Boolean isPublic)
Configures whether public AMIs are excluded from the lifecycle action.
|
LifecyclePolicyDetailExclusionRulesAmis |
withLastLaunched(LifecyclePolicyDetailExclusionRulesAmisLastLaunched lastLaunched)
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
|
LifecyclePolicyDetailExclusionRulesAmis |
withRegions(Collection<String> regions)
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
|
LifecyclePolicyDetailExclusionRulesAmis |
withRegions(String... regions)
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
|
LifecyclePolicyDetailExclusionRulesAmis |
withSharedAccounts(Collection<String> sharedAccounts)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
|
LifecyclePolicyDetailExclusionRulesAmis |
withSharedAccounts(String... sharedAccounts)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
|
LifecyclePolicyDetailExclusionRulesAmis |
withTagMap(Map<String,String> tagMap)
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
|
public LifecyclePolicyDetailExclusionRulesAmis()
public void setIsPublic(Boolean isPublic)
Configures whether public AMIs are excluded from the lifecycle action.
isPublic - Configures whether public AMIs are excluded from the lifecycle action.public Boolean getIsPublic()
Configures whether public AMIs are excluded from the lifecycle action.
public LifecyclePolicyDetailExclusionRulesAmis withIsPublic(Boolean isPublic)
Configures whether public AMIs are excluded from the lifecycle action.
isPublic - Configures whether public AMIs are excluded from the lifecycle action.public Boolean isPublic()
Configures whether public AMIs are excluded from the lifecycle action.
public List<String> getRegions()
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
public void setRegions(Collection<String> regions)
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
regions - Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.public LifecyclePolicyDetailExclusionRulesAmis withRegions(String... regions)
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection) or withRegions(java.util.Collection) if you want to override
the existing values.
regions - Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.public LifecyclePolicyDetailExclusionRulesAmis withRegions(Collection<String> regions)
Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
regions - Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.public List<String> getSharedAccounts()
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
public void setSharedAccounts(Collection<String> sharedAccounts)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
sharedAccounts - Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle
actions.public LifecyclePolicyDetailExclusionRulesAmis withSharedAccounts(String... sharedAccounts)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
NOTE: This method appends the values to the existing list (if any). Use
setSharedAccounts(java.util.Collection) or withSharedAccounts(java.util.Collection) if you want
to override the existing values.
sharedAccounts - Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle
actions.public LifecyclePolicyDetailExclusionRulesAmis withSharedAccounts(Collection<String> sharedAccounts)
Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
sharedAccounts - Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle
actions.public void setLastLaunched(LifecyclePolicyDetailExclusionRulesAmisLastLaunched lastLaunched)
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
lastLaunched - Configures Amazon Web Services Regions that are excluded from the lifecycle action.public LifecyclePolicyDetailExclusionRulesAmisLastLaunched getLastLaunched()
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
public LifecyclePolicyDetailExclusionRulesAmis withLastLaunched(LifecyclePolicyDetailExclusionRulesAmisLastLaunched lastLaunched)
Configures Amazon Web Services Regions that are excluded from the lifecycle action.
lastLaunched - Configures Amazon Web Services Regions that are excluded from the lifecycle action.public Map<String,String> getTagMap()
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
public void setTagMap(Map<String,String> tagMap)
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
tagMap - Lists tags that should be excluded from lifecycle actions for the AMIs that have them.public LifecyclePolicyDetailExclusionRulesAmis withTagMap(Map<String,String> tagMap)
Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
tagMap - Lists tags that should be excluded from lifecycle actions for the AMIs that have them.public LifecyclePolicyDetailExclusionRulesAmis addTagMapEntry(String key, String value)
public LifecyclePolicyDetailExclusionRulesAmis clearTagMapEntries()
public String toString()
toString in class ObjectObject.toString()public LifecyclePolicyDetailExclusionRulesAmis clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.