@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsItemDataValue extends Object implements Serializable, Cloneable, StructuredPojo
An object that defines the value of the key and its type in the OperationalData map.
Constructor and Description |
---|
OpsItemDataValue() |
Modifier and Type | Method and Description |
---|---|
OpsItemDataValue |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of key-value pair.
|
String |
getValue()
The value of the OperationalData key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of key-value pair.
|
void |
setValue(String value)
The value of the OperationalData key.
|
String |
toString()
Returns a string representation of this object.
|
OpsItemDataValue |
withType(OpsItemDataType type)
The type of key-value pair.
|
OpsItemDataValue |
withType(String type)
The type of key-value pair.
|
OpsItemDataValue |
withValue(String value)
The value of the OperationalData key.
|
public void setValue(String value)
The value of the OperationalData key.
value
- The value of the OperationalData key.public String getValue()
The value of the OperationalData key.
public OpsItemDataValue withValue(String value)
The value of the OperationalData key.
value
- The value of the OperationalData key.public void setType(String type)
The type of key-value pair. Valid types include SearchableString
and String
.
type
- The type of key-value pair. Valid types include SearchableString
and String
.OpsItemDataType
public String getType()
The type of key-value pair. Valid types include SearchableString
and String
.
SearchableString
and String
.OpsItemDataType
public OpsItemDataValue withType(String type)
The type of key-value pair. Valid types include SearchableString
and String
.
type
- The type of key-value pair. Valid types include SearchableString
and String
.OpsItemDataType
public OpsItemDataValue withType(OpsItemDataType type)
The type of key-value pair. Valid types include SearchableString
and String
.
type
- The type of key-value pair. Valid types include SearchableString
and String
.OpsItemDataType
public String toString()
toString
in class Object
Object.toString()
public OpsItemDataValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.