|
|||||||
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
Key Schema Element
Constructor Summary | |
---|---|
KeySchemaElement()
Default constructor for a new KeySchemaElement object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAttributeName()
Returns the value of the AttributeName property for this object. |
String |
getAttributeType()
Returns the value of the AttributeType property for this object. |
int |
hashCode()
|
void |
setAttributeName(String attributeName)
Sets the value of the AttributeName property for this object. |
void |
setAttributeType(ScalarAttributeType attributeType)
Sets the value of the AttributeType property for this object. |
void |
setAttributeType(String attributeType)
Sets the value of the AttributeType property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
KeySchemaElement |
withAttributeName(String attributeName)
Sets the value of the AttributeName property for this object. |
KeySchemaElement |
withAttributeType(ScalarAttributeType attributeType)
Sets the value of the AttributeType property for this object. |
KeySchemaElement |
withAttributeType(String attributeType)
Sets the value of the AttributeType property for this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeySchemaElement()
Method Detail |
---|
public String getAttributeName()
Constraints:
Length: 1 - 255
public void setAttributeName(String attributeName)
Constraints:
Length: 1 - 255
attributeName
- The new value for the AttributeName property for this object.public KeySchemaElement withAttributeName(String attributeName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
attributeName
- The new value for the AttributeName property for this object.
public String getAttributeType()
Constraints:
Allowed Values: S, N
ScalarAttributeType
public void setAttributeType(String attributeType)
Constraints:
Allowed Values: S, N
attributeType
- The new value for the AttributeType property for this object.ScalarAttributeType
public KeySchemaElement withAttributeType(String attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S, N
attributeType
- The new value for the AttributeType property for this object.
ScalarAttributeType
public void setAttributeType(ScalarAttributeType attributeType)
Constraints:
Allowed Values: S, N
attributeType
- The new value for the AttributeType property for this object.ScalarAttributeType
public KeySchemaElement withAttributeType(ScalarAttributeType attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S, N
attributeType
- The new value for the AttributeType property for this object.
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 |