@Generated(value="software.amazon.awssdk:codegen") public class Type extends Object implements StructuredPojo, ToCopyableBuilder<Type.Builder,Type>
Describes a type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Type.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The type ARN.
|
static Type.Builder |
builder() |
String |
definition()
The type definition.
|
String |
description()
The type description.
|
boolean |
equals(Object obj) |
TypeDefinitionFormat |
format()
The type format: SDL or JSON.
|
String |
formatAsString()
The type format: SDL or JSON.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The type name.
|
static Class<? extends Type.Builder> |
serializableBuilderClass() |
Type.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String name()
The type name.
public String description()
The type description.
public String arn()
The type ARN.
public String definition()
The type definition.
public TypeDefinitionFormat format()
The type format: SDL or JSON.
If the service returns an enum value that is not available in the current SDK version, format will
return TypeDefinitionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from formatAsString().
TypeDefinitionFormatpublic String formatAsString()
The type format: SDL or JSON.
If the service returns an enum value that is not available in the current SDK version, format will
return TypeDefinitionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from formatAsString().
TypeDefinitionFormatpublic Type.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Type.Builder,Type>public static Type.Builder builder()
public static Class<? extends Type.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.