public class AttributeDefinition
extends java.lang.Object
implements java.io.Serializable
Specifies an attribute for describing the key schema for the table and indexes.
| コンストラクタと説明 |
|---|
AttributeDefinition() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName()
A name for the attribute.
|
java.lang.String |
getAttributeType()
The data type for the attribute.
|
int |
hashCode() |
void |
setAttributeName(java.lang.String attributeName)
A name for the attribute.
|
void |
setAttributeType(ScalarAttributeType attributeType)
The data type for the attribute.
|
void |
setAttributeType(java.lang.String attributeType)
The data type for the attribute.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeDefinition |
withAttributeName(java.lang.String attributeName)
A name for the attribute.
|
AttributeDefinition |
withAttributeType(ScalarAttributeType attributeType)
The data type for the attribute.
|
AttributeDefinition |
withAttributeType(java.lang.String attributeType)
The data type for the attribute.
|
public java.lang.String getAttributeName()
Constraints:
Length: 1 - 255
public void setAttributeName(java.lang.String attributeName)
Constraints:
Length: 1 - 255
attributeName - A name for the attribute.public AttributeDefinition withAttributeName(java.lang.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 java.lang.String getAttributeType()
Constraints:
Allowed Values: S, N, B
ScalarAttributeTypepublic void setAttributeType(java.lang.String attributeType)
Constraints:
Allowed Values: S, N, B
attributeType - The data type for the attribute.ScalarAttributeTypepublic AttributeDefinition withAttributeType(java.lang.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.ScalarAttributeTypepublic void setAttributeType(ScalarAttributeType attributeType)
Constraints:
Allowed Values: S, N, B
attributeType - The data type for the attribute.ScalarAttributeTypepublic 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.ScalarAttributeTypepublic java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object