|
|||||||
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(java.lang.Object obj)
|
java.lang.String |
getAttributeName()
Returns the value of the AttributeName property for this object. |
java.lang.String |
getAttributeType()
Returns the value of the AttributeType property for this object. |
int |
hashCode()
|
void |
setAttributeName(java.lang.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(java.lang.String attributeType)
Sets the value of the AttributeType property for this object. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
KeySchemaElement |
withAttributeName(java.lang.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(java.lang.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 java.lang.String getAttributeName()
Constraints:
Length: 1 - 255
public void setAttributeName(java.lang.String attributeName)
Constraints:
Length: 1 - 255
attributeName
- The new value for the AttributeName property for this object.public KeySchemaElement withAttributeName(java.lang.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 java.lang.String getAttributeType()
Constraints:
Allowed Values: S, N
ScalarAttributeType
public void setAttributeType(java.lang.String attributeType)
Constraints:
Allowed Values: S, N
attributeType
- The new value for the AttributeType property for this object.ScalarAttributeType
public KeySchemaElement withAttributeType(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public 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 |