@Generated(value="software.amazon.awssdk:codegen") public final class CreateTypeRequest extends AppSyncRequest implements ToCopyableBuilder<CreateTypeRequest.Builder,CreateTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API ID.
|
static CreateTypeRequest.Builder |
builder() |
String |
definition()
The type definition, in GraphQL Schema Definition Language (SDL) format.
|
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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTypeRequest.Builder> |
serializableBuilderClass() |
CreateTypeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String apiId()
The API ID.
public String definition()
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
For more information, see the GraphQL SDL documentation.
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 CreateTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTypeRequest.Builder,CreateTypeRequest>toBuilder in class AppSyncRequestpublic static CreateTypeRequest.Builder builder()
public static Class<? extends CreateTypeRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.