@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResponsePartitionKey extends Object implements Serializable, Cloneable, StructuredPojo
If PartitionBy
was specified in a DescribeDimensionKeys
request, the dimensions are
returned in an array. Each element in the array specifies one dimension.
Constructor and Description |
---|
ResponsePartitionKey() |
Modifier and Type | Method and Description |
---|---|
ResponsePartitionKey |
addDimensionsEntry(String key,
String value)
Add a single Dimensions entry
|
ResponsePartitionKey |
clearDimensionsEntries()
Removes all the entries added into Dimensions.
|
ResponsePartitionKey |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getDimensions()
A dimension map that contains the dimensions for this partition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensions(Map<String,String> dimensions)
A dimension map that contains the dimensions for this partition.
|
String |
toString()
Returns a string representation of this object.
|
ResponsePartitionKey |
withDimensions(Map<String,String> dimensions)
A dimension map that contains the dimensions for this partition.
|
public Map<String,String> getDimensions()
A dimension map that contains the dimensions for this partition.
public void setDimensions(Map<String,String> dimensions)
A dimension map that contains the dimensions for this partition.
dimensions
- A dimension map that contains the dimensions for this partition.public ResponsePartitionKey withDimensions(Map<String,String> dimensions)
A dimension map that contains the dimensions for this partition.
dimensions
- A dimension map that contains the dimensions for this partition.public ResponsePartitionKey addDimensionsEntry(String key, String value)
public ResponsePartitionKey clearDimensionsEntries()
public String toString()
toString
in class Object
Object.toString()
public ResponsePartitionKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.