@Generated(value="software.amazon.awssdk:codegen") public final class Resolver extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Resolver.Builder,Resolver>
Describes a resolver.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Resolver.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Resolver.Builder |
builder() |
CachingConfig |
cachingConfig()
The caching configuration for the resolver.
|
String |
code()
The
resolver code that contains the request and response functions. |
String |
dataSourceName()
The resolver data source name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fieldName()
The resolver 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 request mapping template.
|
String |
resolverArn()
The resolver Amazon Resource Name (ARN).
|
String |
responseMappingTemplate()
The response mapping template.
|
AppSyncRuntime |
runtime()
Returns the value of the Runtime property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Resolver.Builder> |
serializableBuilderClass() |
SyncConfig |
syncConfig()
The
SyncConfig for a resolver attached to a versioned data source. |
Resolver.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeName()
The resolver type name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String typeName()
The resolver type name.
public final String fieldName()
The resolver field name.
public final String dataSourceName()
The resolver data source name.
public final String resolverArn()
The resolver Amazon Resource Name (ARN).
public final String requestMappingTemplate()
The request mapping template.
public final String responseMappingTemplate()
The 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 final AppSyncRuntime runtime()
public final String code()
The resolver code that contains the request and response functions. When code is used, the
runtime is required. The runtime value must be APPSYNC_JS.
resolver code that contains the request and response functions. When code is used, the
runtime is required. The runtime value must be APPSYNC_JS.public Resolver.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Resolver.Builder,Resolver>public static Resolver.Builder builder()
public static Class<? extends Resolver.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.