@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.ResourceAttribute
public String getAttribute()
The attribute to be changed.
ResourceAttribute
public ResourceTargetDefinition withAttribute(String attribute)
The attribute to be changed.
attribute
- The attribute to be changed.ResourceAttribute
public ResourceTargetDefinition withAttribute(ResourceAttribute attribute)
The attribute to be changed.
attribute
- The attribute to be changed.ResourceAttribute
public 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.RequiresRecreation
public 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.RequiresRecreation
public 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.RequiresRecreation
public 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.RequiresRecreation
public String toString()
toString
in class Object
Object.toString()
public ResourceTargetDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.