@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyRequest extends Object implements Serializable, Cloneable, StructuredPojo
An object that sets information about a property.
Constructor and Description |
---|
PropertyRequest() |
Modifier and Type | Method and Description |
---|---|
PropertyRequest |
clone() |
boolean |
equals(Object obj) |
PropertyDefinitionRequest |
getDefinition()
An object that specifies information about a property.
|
String |
getUpdateType()
The update type of the update property request.
|
DataValue |
getValue()
The value of the property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefinition(PropertyDefinitionRequest definition)
An object that specifies information about a property.
|
void |
setUpdateType(String updateType)
The update type of the update property request.
|
void |
setValue(DataValue value)
The value of the property.
|
String |
toString()
Returns a string representation of this object.
|
PropertyRequest |
withDefinition(PropertyDefinitionRequest definition)
An object that specifies information about a property.
|
PropertyRequest |
withUpdateType(PropertyUpdateType updateType)
The update type of the update property request.
|
PropertyRequest |
withUpdateType(String updateType)
The update type of the update property request.
|
PropertyRequest |
withValue(DataValue value)
The value of the property.
|
public void setDefinition(PropertyDefinitionRequest definition)
An object that specifies information about a property.
definition
- An object that specifies information about a property.public PropertyDefinitionRequest getDefinition()
An object that specifies information about a property.
public PropertyRequest withDefinition(PropertyDefinitionRequest definition)
An object that specifies information about a property.
definition
- An object that specifies information about a property.public void setValue(DataValue value)
The value of the property.
value
- The value of the property.public DataValue getValue()
The value of the property.
public PropertyRequest withValue(DataValue value)
The value of the property.
value
- The value of the property.public void setUpdateType(String updateType)
The update type of the update property request.
updateType
- The update type of the update property request.PropertyUpdateType
public String getUpdateType()
The update type of the update property request.
PropertyUpdateType
public PropertyRequest withUpdateType(String updateType)
The update type of the update property request.
updateType
- The update type of the update property request.PropertyUpdateType
public PropertyRequest withUpdateType(PropertyUpdateType updateType)
The update type of the update property request.
updateType
- The update type of the update property request.PropertyUpdateType
public String toString()
toString
in class Object
Object.toString()
public PropertyRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.