@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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (ARN).
arn
- The type Amazon Resource Name (ARN).public String getArn()
The type Amazon Resource Name (ARN).
public Type withArn(String arn)
The type Amazon Resource Name (ARN).
arn
- The type Amazon Resource Name (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.TypeDefinitionFormat
public String getFormat()
The type format: SDL or JSON.
TypeDefinitionFormat
public Type withFormat(String format)
The type format: SDL or JSON.
format
- The type format: SDL or JSON.TypeDefinitionFormat
public Type withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
format
- The type format: SDL or JSON.TypeDefinitionFormat
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.