|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.dynamodb.model.KeySchemaElement
public class KeySchemaElement
KeySchemaElement is the primary key (hash or hash-and-range) structure for the table.
| Constructor Summary | |
|---|---|
KeySchemaElement()
Default constructor for a new KeySchemaElement object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAttributeName()
The AttributeName of the KeySchemaElement. |
java.lang.String |
getAttributeType()
The AttributeType of the KeySchemaElement
which can be a String or a Number. |
int |
hashCode()
|
void |
setAttributeName(java.lang.String attributeName)
The AttributeName of the KeySchemaElement. |
void |
setAttributeType(ScalarAttributeType attributeType)
The AttributeType of the KeySchemaElement
which can be a String or a Number. |
void |
setAttributeType(java.lang.String attributeType)
The AttributeType of the KeySchemaElement
which can be a String or a Number. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
KeySchemaElement |
withAttributeName(java.lang.String attributeName)
The AttributeName of the KeySchemaElement. |
KeySchemaElement |
withAttributeType(ScalarAttributeType attributeType)
The AttributeType of the KeySchemaElement
which can be a String or a Number. |
KeySchemaElement |
withAttributeType(java.lang.String attributeType)
The AttributeType of the KeySchemaElement
which can be a String or a Number. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeySchemaElement()
| Method Detail |
|---|
public java.lang.String getAttributeName()
AttributeName of the KeySchemaElement.
Constraints:
Length: 1 - 255
AttributeName of the KeySchemaElement.public void setAttributeName(java.lang.String attributeName)
AttributeName of the KeySchemaElement.
Constraints:
Length: 1 - 255
attributeName - The AttributeName of the KeySchemaElement.public KeySchemaElement withAttributeName(java.lang.String attributeName)
AttributeName of the KeySchemaElement.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
attributeName - The AttributeName of the KeySchemaElement.
public java.lang.String getAttributeType()
AttributeType of the KeySchemaElement
which can be a String or a Number.
Constraints:
Allowed Values: S, N, B
AttributeType of the KeySchemaElement
which can be a String or a Number.ScalarAttributeTypepublic void setAttributeType(java.lang.String attributeType)
AttributeType of the KeySchemaElement
which can be a String or a Number.
Constraints:
Allowed Values: S, N, B
attributeType - The AttributeType of the KeySchemaElement
which can be a String or a Number.ScalarAttributeTypepublic KeySchemaElement withAttributeType(java.lang.String attributeType)
AttributeType of the KeySchemaElement
which can be a String or a Number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S, N, B
attributeType - The AttributeType of the KeySchemaElement
which can be a String or a Number.
ScalarAttributeTypepublic void setAttributeType(ScalarAttributeType attributeType)
AttributeType of the KeySchemaElement
which can be a String or a Number.
Constraints:
Allowed Values: S, N, B
attributeType - The AttributeType of the KeySchemaElement
which can be a String or a Number.ScalarAttributeTypepublic KeySchemaElement withAttributeType(ScalarAttributeType attributeType)
AttributeType of the KeySchemaElement
which can be a String or a Number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S, N, B
attributeType - The AttributeType of the KeySchemaElement
which can be a String or a Number.
ScalarAttributeTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||