@Generated(value="software.amazon.awssdk:codegen") public final class DefinitionDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DefinitionDocument.Builder,DefinitionDocument>
A document that defines an entity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DefinitionDocument.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefinitionDocument.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DefinitionLanguage |
language()
The language used to define the entity.
|
String |
languageAsString()
The language used to define the entity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DefinitionDocument.Builder> |
serializableBuilderClass() |
String |
text()
The GraphQL text that defines the entity.
|
DefinitionDocument.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DefinitionLanguage language()
The language used to define the entity. GRAPHQL is the only valid value.
If the service returns an enum value that is not available in the current SDK version, language will
return DefinitionLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageAsString().
GRAPHQL is the only valid value.DefinitionLanguagepublic final String languageAsString()
The language used to define the entity. GRAPHQL is the only valid value.
If the service returns an enum value that is not available in the current SDK version, language will
return DefinitionLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageAsString().
GRAPHQL is the only valid value.DefinitionLanguagepublic final String text()
The GraphQL text that defines the entity.
public DefinitionDocument.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DefinitionDocument.Builder,DefinitionDocument>public static DefinitionDocument.Builder builder()
public static Class<? extends DefinitionDocument.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.