@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTargetDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Information about a change to a resource attribute.
| Constructor and Description |
|---|
ResourceTargetDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ResourceTargetDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute to be changed.
|
String |
getName()
If the attribute is
Properties, the value is the name of the property. |
String |
getRequiresRecreation()
If the attribute is
Properties, indicates whether a change to this property causes the resource to
be re-created. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttribute(String attribute)
The attribute to be changed.
|
void |
setName(String name)
If the attribute is
Properties, the value is the name of the property. |
void |
setRequiresRecreation(String requiresRecreation)
If the attribute is
Properties, indicates whether a change to this property causes the resource to
be re-created. |
String |
toString()
Returns a string representation of this object.
|
ResourceTargetDefinition |
withAttribute(ResourceAttribute attribute)
The attribute to be changed.
|
ResourceTargetDefinition |
withAttribute(String attribute)
The attribute to be changed.
|
ResourceTargetDefinition |
withName(String name)
If the attribute is
Properties, the value is the name of the property. |
ResourceTargetDefinition |
withRequiresRecreation(RequiresRecreation requiresRecreation)
If the attribute is
Properties, indicates whether a change to this property causes the resource to
be re-created. |
ResourceTargetDefinition |
withRequiresRecreation(String requiresRecreation)
If the attribute is
Properties, indicates whether a change to this property causes the resource to
be re-created. |
public void setAttribute(String attribute)
The attribute to be changed.
attribute - The attribute to be changed.ResourceAttributepublic String getAttribute()
The attribute to be changed.
ResourceAttributepublic ResourceTargetDefinition withAttribute(String attribute)
The attribute to be changed.
attribute - The attribute to be changed.ResourceAttributepublic ResourceTargetDefinition withAttribute(ResourceAttribute attribute)
The attribute to be changed.
attribute - The attribute to be changed.ResourceAttributepublic void setName(String name)
If the attribute is Properties, the value is the name of the property. Otherwise, the value is null.
name - If the attribute is Properties, the value is the name of the property. Otherwise, the value
is null.public String getName()
If the attribute is Properties, the value is the name of the property. Otherwise, the value is null.
Properties, the value is the name of the property. Otherwise, the value
is null.public ResourceTargetDefinition withName(String name)
If the attribute is Properties, the value is the name of the property. Otherwise, the value is null.
name - If the attribute is Properties, the value is the name of the property. Otherwise, the value
is null.public void setRequiresRecreation(String requiresRecreation)
If the attribute is Properties, indicates whether a change to this property causes the resource to
be re-created.
requiresRecreation - If the attribute is Properties, indicates whether a change to this property causes the
resource to be re-created.RequiresRecreationpublic String getRequiresRecreation()
If the attribute is Properties, indicates whether a change to this property causes the resource to
be re-created.
Properties, indicates whether a change to this property causes the
resource to be re-created.RequiresRecreationpublic ResourceTargetDefinition withRequiresRecreation(String requiresRecreation)
If the attribute is Properties, indicates whether a change to this property causes the resource to
be re-created.
requiresRecreation - If the attribute is Properties, indicates whether a change to this property causes the
resource to be re-created.RequiresRecreationpublic ResourceTargetDefinition withRequiresRecreation(RequiresRecreation requiresRecreation)
If the attribute is Properties, indicates whether a change to this property causes the resource to
be re-created.
requiresRecreation - If the attribute is Properties, indicates whether a change to this property causes the
resource to be re-created.RequiresRecreationpublic String toString()
toString in class ObjectObject.toString()public ResourceTargetDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.