@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalResultAttribute extends Object implements Serializable, Cloneable, StructuredPojo
An attribute returned from an index query.
| Constructor and Description |
|---|
AdditionalResultAttribute() |
| Modifier and Type | Method and Description |
|---|---|
AdditionalResultAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key that identifies the attribute.
|
AdditionalResultAttributeValue |
getValue()
An object that contains the attribute value.
|
String |
getValueType()
The data type of the
Value property. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
The key that identifies the attribute.
|
void |
setValue(AdditionalResultAttributeValue value)
An object that contains the attribute value.
|
void |
setValueType(String valueType)
The data type of the
Value property. |
String |
toString()
Returns a string representation of this object.
|
AdditionalResultAttribute |
withKey(String key)
The key that identifies the attribute.
|
AdditionalResultAttribute |
withValue(AdditionalResultAttributeValue value)
An object that contains the attribute value.
|
AdditionalResultAttribute |
withValueType(AdditionalResultAttributeValueType valueType)
The data type of the
Value property. |
AdditionalResultAttribute |
withValueType(String valueType)
The data type of the
Value property. |
public void setKey(String key)
The key that identifies the attribute.
key - The key that identifies the attribute.public String getKey()
The key that identifies the attribute.
public AdditionalResultAttribute withKey(String key)
The key that identifies the attribute.
key - The key that identifies the attribute.public void setValueType(String valueType)
The data type of the Value property.
valueType - The data type of the Value property.AdditionalResultAttributeValueTypepublic String getValueType()
The data type of the Value property.
Value property.AdditionalResultAttributeValueTypepublic AdditionalResultAttribute withValueType(String valueType)
The data type of the Value property.
valueType - The data type of the Value property.AdditionalResultAttributeValueTypepublic AdditionalResultAttribute withValueType(AdditionalResultAttributeValueType valueType)
The data type of the Value property.
valueType - The data type of the Value property.AdditionalResultAttributeValueTypepublic void setValue(AdditionalResultAttributeValue value)
An object that contains the attribute value.
value - An object that contains the attribute value.public AdditionalResultAttributeValue getValue()
An object that contains the attribute value.
public AdditionalResultAttribute withValue(AdditionalResultAttributeValue value)
An object that contains the attribute value.
value - An object that contains the attribute value.public String toString()
toString in class ObjectObject.toString()public AdditionalResultAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.