@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyResourceSelectionRecipe extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Image Builder recipe that the lifecycle policy uses for resource selection.
Constructor and Description |
---|
LifecyclePolicyResourceSelectionRecipe() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyResourceSelectionRecipe |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
|
String |
getSemanticVersion()
The version of the Image Builder recipe specified by the
name field. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
|
void |
setSemanticVersion(String semanticVersion)
The version of the Image Builder recipe specified by the
name field. |
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyResourceSelectionRecipe |
withName(String name)
The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
|
LifecyclePolicyResourceSelectionRecipe |
withSemanticVersion(String semanticVersion)
The version of the Image Builder recipe specified by the
name field. |
public LifecyclePolicyResourceSelectionRecipe()
public void setName(String name)
The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
name
- The name of an Image Builder recipe that the lifecycle policy uses for resource selection.public String getName()
The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
public LifecyclePolicyResourceSelectionRecipe withName(String name)
The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
name
- The name of an Image Builder recipe that the lifecycle policy uses for resource selection.public void setSemanticVersion(String semanticVersion)
The version of the Image Builder recipe specified by the name
field.
semanticVersion
- The version of the Image Builder recipe specified by the name
field.public String getSemanticVersion()
The version of the Image Builder recipe specified by the name
field.
name
field.public LifecyclePolicyResourceSelectionRecipe withSemanticVersion(String semanticVersion)
The version of the Image Builder recipe specified by the name
field.
semanticVersion
- The version of the Image Builder recipe specified by the name
field.public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyResourceSelectionRecipe clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.