@Generated(value="software.amazon.awssdk:codegen") public final class GetTypeRequest extends AppSyncRequest implements ToCopyableBuilder<GetTypeRequest.Builder,GetTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API ID.
|
static GetTypeRequest.Builder |
builder() |
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 GetTypeRequest.Builder> |
serializableBuilderClass() |
GetTypeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeName()
The type name.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String apiId()
The API ID.
public String typeName()
The type name.
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 GetTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetTypeRequest.Builder,GetTypeRequest>toBuilder in class AppSyncRequestpublic static GetTypeRequest.Builder builder()
public static Class<? extends GetTypeRequest.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.