Class ListTypesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appsync.model.AppSyncRequest
-
- software.amazon.awssdk.services.appsync.model.ListTypesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListTypesRequest.Builder,ListTypesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListTypesRequest extends AppSyncRequest implements ToCopyableBuilder<ListTypesRequest.Builder,ListTypesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTypesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapiId()The API ID.static ListTypesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)TypeDefinitionFormatformat()The type format: SDL or JSON.StringformatAsString()The type format: SDL or JSON.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results that you want the request to return.StringnextToken()An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.List<SdkField<?>>sdkFields()static Class<? extends ListTypesRequest.Builder>serializableBuilderClass()ListTypesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
apiId
public final String apiId()
The API ID.
- Returns:
- The API ID.
-
format
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,
formatwill returnTypeDefinitionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The type format: SDL or JSON.
- See Also:
TypeDefinitionFormat
-
formatAsString
public 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,
formatwill returnTypeDefinitionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The type format: SDL or JSON.
- See Also:
TypeDefinitionFormat
-
nextToken
public final String nextToken()
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
- Returns:
- An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
-
maxResults
public final Integer maxResults()
The maximum number of results that you want the request to return.
- Returns:
- The maximum number of results that you want the request to return.
-
toBuilder
public ListTypesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTypesRequest.Builder,ListTypesRequest>- Specified by:
toBuilderin classAppSyncRequest
-
builder
public static ListTypesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTypesRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-