KeySchemaElement
instead.@Deprecated public class KeySchemaElement extends Object implements Serializable
KeySchemaElement
is the primary key (hash or hash-and-range) structure for the table.
Constructor and Description |
---|
KeySchemaElement()
Deprecated.
Default constructor for a new KeySchemaElement object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getAttributeName()
Deprecated.
The
AttributeName of the KeySchemaElement . |
String |
getAttributeType()
Deprecated.
The
AttributeType of the KeySchemaElement
which can be a String or a Number . |
int |
hashCode()
Deprecated.
|
void |
setAttributeName(String attributeName)
Deprecated.
The
AttributeName of the KeySchemaElement . |
void |
setAttributeType(ScalarAttributeType attributeType)
Deprecated.
The
AttributeType of the KeySchemaElement
which can be a String or a Number . |
void |
setAttributeType(String attributeType)
Deprecated.
The
AttributeType of the KeySchemaElement
which can be a String or a Number . |
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
KeySchemaElement |
withAttributeName(String attributeName)
Deprecated.
The
AttributeName of the KeySchemaElement . |
KeySchemaElement |
withAttributeType(ScalarAttributeType attributeType)
Deprecated.
The
AttributeType of the KeySchemaElement
which can be a String or a Number . |
KeySchemaElement |
withAttributeType(String attributeType)
Deprecated.
The
AttributeType of the KeySchemaElement
which can be a String or a Number . |
public KeySchemaElement()
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()
Copyright © 2014. All rights reserved.