@Generated(value="software.amazon.awssdk:codegen") public final class UpdateResolverRequest extends AppSyncRequest implements ToCopyableBuilder<UpdateResolverRequest.Builder,UpdateResolverRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateResolverRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API ID.
|
static UpdateResolverRequest.Builder |
builder() |
CachingConfig |
cachingConfig()
The caching configuration for the resolver.
|
String |
dataSourceName()
The new data source name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fieldName()
The new field name.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResolverKind |
kind()
The resolver type.
|
String |
kindAsString()
The resolver type.
|
Integer |
maxBatchSize()
The maximum batching size for a resolver.
|
PipelineConfig |
pipelineConfig()
The
PipelineConfig. |
String |
requestMappingTemplate()
The new request mapping template.
|
String |
responseMappingTemplate()
The new response mapping template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateResolverRequest.Builder> |
serializableBuilderClass() |
SyncConfig |
syncConfig()
The
SyncConfig for a resolver attached to a versioned data source. |
UpdateResolverRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeName()
The new type name.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String apiId()
The API ID.
public final String typeName()
The new type name.
public final String fieldName()
The new field name.
public final String dataSourceName()
The new data source name.
public final String requestMappingTemplate()
The new request mapping template.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
public final String responseMappingTemplate()
The new response mapping template.
public final ResolverKind kind()
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against
multiple data sources.
If the service returns an enum value that is not available in the current SDK version, kind will return
ResolverKind.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
kindAsString().
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query
against multiple data sources.
ResolverKindpublic final String kindAsString()
The resolver type.
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against
multiple data sources.
If the service returns an enum value that is not available in the current SDK version, kind will return
ResolverKind.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
kindAsString().
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of
Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query
against multiple data sources.
ResolverKindpublic final PipelineConfig pipelineConfig()
The PipelineConfig.
PipelineConfig.public final SyncConfig syncConfig()
The SyncConfig for a resolver attached to a versioned data source.
SyncConfig for a resolver attached to a versioned data source.public final CachingConfig cachingConfig()
The caching configuration for the resolver.
public final Integer maxBatchSize()
The maximum batching size for a resolver.
public UpdateResolverRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateResolverRequest.Builder,UpdateResolverRequest>toBuilder in class AppSyncRequestpublic static UpdateResolverRequest.Builder builder()
public static Class<? extends UpdateResolverRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.