@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableAttributeDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Contains a definition of an attribute for the table.
Constructor and Description |
---|
AwsDynamoDbTableAttributeDefinition() |
Modifier and Type | Method and Description |
---|---|
AwsDynamoDbTableAttributeDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute.
|
String |
getAttributeType()
The type of the attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the attribute.
|
void |
setAttributeType(String attributeType)
The type of the attribute.
|
String |
toString()
Returns a string representation of this object.
|
AwsDynamoDbTableAttributeDefinition |
withAttributeName(String attributeName)
The name of the attribute.
|
AwsDynamoDbTableAttributeDefinition |
withAttributeType(String attributeType)
The type of the attribute.
|
public void setAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public String getAttributeName()
The name of the attribute.
public AwsDynamoDbTableAttributeDefinition withAttributeName(String attributeName)
The name of the attribute.
attributeName
- The name of the attribute.public void setAttributeType(String attributeType)
The type of the attribute.
attributeType
- The type of the attribute.public String getAttributeType()
The type of the attribute.
public AwsDynamoDbTableAttributeDefinition withAttributeType(String attributeType)
The type of the attribute.
attributeType
- The type of the attribute.public String toString()
toString
in class Object
Object.toString()
public AwsDynamoDbTableAttributeDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.