@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 that will change.
|
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 recreated. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttribute(String attribute)
The attribute that will change.
|
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 recreated. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceTargetDefinition |
withAttribute(ResourceAttribute attribute)
The attribute that will change.
|
ResourceTargetDefinition |
withAttribute(String attribute)
The attribute that will change.
|
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 recreated. |
ResourceTargetDefinition |
withRequiresRecreation(String requiresRecreation)
If the attribute is
Properties , indicates whether a change to this property causes the resource to
be recreated. |
public void setAttribute(String attribute)
The attribute that will change.
attribute
- The attribute that will change.ResourceAttribute
public String getAttribute()
The attribute that will change.
ResourceAttribute
public ResourceTargetDefinition withAttribute(String attribute)
The attribute that will change.
attribute
- The attribute that will change.ResourceAttribute
public ResourceTargetDefinition withAttribute(ResourceAttribute attribute)
The attribute that will change.
attribute
- The attribute that will change.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 recreated.
requiresRecreation
- If the attribute is Properties
, indicates whether a change to this property causes the
resource to be recreated.RequiresRecreation
public String getRequiresRecreation()
If the attribute is Properties
, indicates whether a change to this property causes the resource to
be recreated.
Properties
, indicates whether a change to this property causes the
resource to be recreated.RequiresRecreation
public ResourceTargetDefinition withRequiresRecreation(String requiresRecreation)
If the attribute is Properties
, indicates whether a change to this property causes the resource to
be recreated.
requiresRecreation
- If the attribute is Properties
, indicates whether a change to this property causes the
resource to be recreated.RequiresRecreation
public ResourceTargetDefinition withRequiresRecreation(RequiresRecreation requiresRecreation)
If the attribute is Properties
, indicates whether a change to this property causes the resource to
be recreated.
requiresRecreation
- If the attribute is Properties
, indicates whether a change to this property causes the
resource to be recreated.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.