@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Type extends Object implements Serializable, Cloneable, StructuredPojo
Describes a type.
| Constructor and Description |
|---|
Type() |
| Modifier and Type | Method and Description |
|---|---|
Type |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The type ARN.
|
String |
getDefinition()
The type definition.
|
String |
getDescription()
The type description.
|
String |
getFormat()
The type format: SDL or JSON.
|
String |
getName()
The type name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The type ARN.
|
void |
setDefinition(String definition)
The type definition.
|
void |
setDescription(String description)
The type description.
|
void |
setFormat(String format)
The type format: SDL or JSON.
|
void |
setName(String name)
The type name.
|
String |
toString()
Returns a string representation of this object.
|
Type |
withArn(String arn)
The type ARN.
|
Type |
withDefinition(String definition)
The type definition.
|
Type |
withDescription(String description)
The type description.
|
Type |
withFormat(String format)
The type format: SDL or JSON.
|
Type |
withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
|
Type |
withName(String name)
The type name.
|
public void setName(String name)
The type name.
name - The type name.public String getName()
The type name.
public Type withName(String name)
The type name.
name - The type name.public void setDescription(String description)
The type description.
description - The type description.public String getDescription()
The type description.
public Type withDescription(String description)
The type description.
description - The type description.public void setArn(String arn)
The type ARN.
arn - The type ARN.public String getArn()
The type ARN.
public Type withArn(String arn)
The type ARN.
arn - The type ARN.public void setDefinition(String definition)
The type definition.
definition - The type definition.public String getDefinition()
The type definition.
public Type withDefinition(String definition)
The type definition.
definition - The type definition.public void setFormat(String format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic String getFormat()
The type format: SDL or JSON.
TypeDefinitionFormatpublic Type withFormat(String format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic Type withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.