@Generated(value="software.amazon.awssdk:codegen") public final class Type extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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() |
String |
name()
The type name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Type.Builder> |
serializableBuilderClass() |
Type.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<Type.Builder,Type>public static Type.Builder builder()
public static Class<? extends Type.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.