@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 Amazon Resource Name (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 final String name()
The type name.
public final String description()
The type description.
public final String arn()
The type Amazon Resource Name (ARN).
public final String definition()
The type definition.
public final 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.