|
|||||||
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(Object obj)
|
String |
getAttributeName()
The AttributeName of the KeySchemaElement . |
String |
getAttributeType()
The AttributeType of the KeySchemaElement
which can be a String or a Number . |
int |
hashCode()
|
void |
setAttributeName(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(String attributeType)
The AttributeType of the KeySchemaElement
which can be a String or a Number . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
KeySchemaElement |
withAttributeName(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(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 String getAttributeName()
AttributeName
of the KeySchemaElement
.
Constraints:
Length: 1 - 255
AttributeName
of the KeySchemaElement
.public void setAttributeName(String attributeName)
AttributeName
of the KeySchemaElement
.
Constraints:
Length: 1 - 255
attributeName
- The AttributeName
of the KeySchemaElement
.public KeySchemaElement withAttributeName(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 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
.ScalarAttributeType
public void setAttributeType(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
.ScalarAttributeType
public KeySchemaElement withAttributeType(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
.
ScalarAttributeType
public 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
.ScalarAttributeType
public 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
.
ScalarAttributeType
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |