@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyResourceSelection extends Object implements Serializable, Cloneable, StructuredPojo
Resource selection criteria for the lifecycle policy.
Constructor and Description |
---|
LifecyclePolicyResourceSelection() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyResourceSelection |
addTagMapEntry(String key,
String value)
Add a single TagMap entry
|
LifecyclePolicyResourceSelection |
clearTagMapEntries()
Removes all the entries added into TagMap.
|
LifecyclePolicyResourceSelection |
clone() |
boolean |
equals(Object obj) |
List<LifecyclePolicyResourceSelectionRecipe> |
getRecipes()
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
|
Map<String,String> |
getTagMap()
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle
policy applies to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecipes(Collection<LifecyclePolicyResourceSelectionRecipe> recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
|
void |
setTagMap(Map<String,String> tagMap)
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle
policy applies to.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyResourceSelection |
withRecipes(Collection<LifecyclePolicyResourceSelectionRecipe> recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
|
LifecyclePolicyResourceSelection |
withRecipes(LifecyclePolicyResourceSelectionRecipe... recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
|
LifecyclePolicyResourceSelection |
withTagMap(Map<String,String> tagMap)
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle
policy applies to.
|
public List<LifecyclePolicyResourceSelectionRecipe> getRecipes()
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
public void setRecipes(Collection<LifecyclePolicyResourceSelectionRecipe> recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
recipes
- A list of recipes that are used as selection criteria for the output images that the lifecycle policy
applies to.public LifecyclePolicyResourceSelection withRecipes(LifecyclePolicyResourceSelectionRecipe... recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
NOTE: This method appends the values to the existing list (if any). Use
setRecipes(java.util.Collection)
or withRecipes(java.util.Collection)
if you want to override
the existing values.
recipes
- A list of recipes that are used as selection criteria for the output images that the lifecycle policy
applies to.public LifecyclePolicyResourceSelection withRecipes(Collection<LifecyclePolicyResourceSelectionRecipe> recipes)
A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
recipes
- A list of recipes that are used as selection criteria for the output images that the lifecycle policy
applies to.public Map<String,String> getTagMap()
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
public void setTagMap(Map<String,String> tagMap)
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
tagMap
- A list of tags that are used as selection criteria for the Image Builder image resources that the
lifecycle policy applies to.public LifecyclePolicyResourceSelection withTagMap(Map<String,String> tagMap)
A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
tagMap
- A list of tags that are used as selection criteria for the Image Builder image resources that the
lifecycle policy applies to.public LifecyclePolicyResourceSelection addTagMapEntry(String key, String value)
public LifecyclePolicyResourceSelection clearTagMapEntries()
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyResourceSelection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.