|
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.dynamodbv2.model.AttributeDefinition
public class AttributeDefinition
Specifies an attribute for describing the key schema for the table and indexes.
Constructor Summary | |
---|---|
AttributeDefinition()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAttributeName()
A name for the attribute. |
String |
getAttributeType()
The data type for the attribute. |
int |
hashCode()
|
void |
setAttributeName(String attributeName)
A name for the attribute. |
void |
setAttributeType(ScalarAttributeType attributeType)
The data type for the attribute. |
void |
setAttributeType(String attributeType)
The data type for the attribute. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttributeDefinition |
withAttributeName(String attributeName)
A name for the attribute. |
AttributeDefinition |
withAttributeType(ScalarAttributeType attributeType)
The data type for the attribute. |
AttributeDefinition |
withAttributeType(String attributeType)
The data type for the attribute. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeDefinition()
Method Detail |
---|
public String getAttributeName()
Constraints:
Length: 1 - 255
public void setAttributeName(String attributeName)
Constraints:
Length: 1 - 255
attributeName
- A name for the attribute.public AttributeDefinition withAttributeName(String attributeName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
attributeName
- A name for the attribute.
public String getAttributeType()
Constraints:
Allowed Values: S, N, B
ScalarAttributeType
public void setAttributeType(String attributeType)
Constraints:
Allowed Values: S, N, B
attributeType
- The data type for the attribute.ScalarAttributeType
public AttributeDefinition withAttributeType(String attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S, N, B
attributeType
- The data type for the attribute.
ScalarAttributeType
public void setAttributeType(ScalarAttributeType attributeType)
Constraints:
Allowed Values: S, N, B
attributeType
- The data type for the attribute.ScalarAttributeType
public AttributeDefinition withAttributeType(ScalarAttributeType attributeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S, N, B
attributeType
- The data type for the attribute.
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 |