Interface UpdateGraphqlApiRequest.Builder
-
- All Superinterfaces:
AppSyncRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateGraphqlApiRequest.Builder,UpdateGraphqlApiRequest>
,SdkBuilder<UpdateGraphqlApiRequest.Builder,UpdateGraphqlApiRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateGraphqlApiRequest
public static interface UpdateGraphqlApiRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateGraphqlApiRequest.Builder,UpdateGraphqlApiRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateGraphqlApiRequest.Builder
additionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for theGraphqlApi
API.UpdateGraphqlApiRequest.Builder
additionalAuthenticationProviders(Consumer<AdditionalAuthenticationProvider.Builder>... additionalAuthenticationProviders)
A list of additional authentication providers for theGraphqlApi
API.UpdateGraphqlApiRequest.Builder
additionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for theGraphqlApi
API.UpdateGraphqlApiRequest.Builder
apiId(String apiId)
The API ID.UpdateGraphqlApiRequest.Builder
authenticationType(String authenticationType)
The new authentication type for theGraphqlApi
object.UpdateGraphqlApiRequest.Builder
authenticationType(AuthenticationType authenticationType)
The new authentication type for theGraphqlApi
object.UpdateGraphqlApiRequest.Builder
introspectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
) introspection.UpdateGraphqlApiRequest.Builder
introspectionConfig(GraphQLApiIntrospectionConfig introspectionConfig)
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
) introspection.default UpdateGraphqlApiRequest.Builder
lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig)
Configuration for Lambda function authorization.UpdateGraphqlApiRequest.Builder
lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.default UpdateGraphqlApiRequest.Builder
logConfig(Consumer<LogConfig.Builder> logConfig)
The Amazon CloudWatch Logs configuration for theGraphqlApi
object.UpdateGraphqlApiRequest.Builder
logConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration for theGraphqlApi
object.UpdateGraphqlApiRequest.Builder
mergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.UpdateGraphqlApiRequest.Builder
name(String name)
The new name for theGraphqlApi
object.default UpdateGraphqlApiRequest.Builder
openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)
The OpenID Connect configuration for theGraphqlApi
object.UpdateGraphqlApiRequest.Builder
openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration for theGraphqlApi
object.UpdateGraphqlApiRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateGraphqlApiRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateGraphqlApiRequest.Builder
ownerContact(String ownerContact)
The owner contact information for an API resource.UpdateGraphqlApiRequest.Builder
queryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request.UpdateGraphqlApiRequest.Builder
resolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request.default UpdateGraphqlApiRequest.Builder
userPoolConfig(Consumer<UserPoolConfig.Builder> userPoolConfig)
The new Amazon Cognito user pool configuration for the~GraphqlApi
object.UpdateGraphqlApiRequest.Builder
userPoolConfig(UserPoolConfig userPoolConfig)
The new Amazon Cognito user pool configuration for the~GraphqlApi
object.UpdateGraphqlApiRequest.Builder
xrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for theGraphqlApi
.-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
apiId
UpdateGraphqlApiRequest.Builder apiId(String apiId)
The API ID.
- Parameters:
apiId
- The API ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateGraphqlApiRequest.Builder name(String name)
The new name for the
GraphqlApi
object.- Parameters:
name
- The new name for theGraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
UpdateGraphqlApiRequest.Builder logConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration for the
GraphqlApi
object.- Parameters:
logConfig
- The Amazon CloudWatch Logs configuration for theGraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
default UpdateGraphqlApiRequest.Builder logConfig(Consumer<LogConfig.Builder> logConfig)
The Amazon CloudWatch Logs configuration for the
This is a convenience method that creates an instance of theGraphqlApi
object.LogConfig.Builder
avoiding the need to create one manually viaLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfig(LogConfig)
.- Parameters:
logConfig
- a consumer that will call methods onLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logConfig(LogConfig)
-
authenticationType
UpdateGraphqlApiRequest.Builder authenticationType(String authenticationType)
The new authentication type for the
GraphqlApi
object.- Parameters:
authenticationType
- The new authentication type for theGraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthenticationType
,AuthenticationType
-
authenticationType
UpdateGraphqlApiRequest.Builder authenticationType(AuthenticationType authenticationType)
The new authentication type for the
GraphqlApi
object.- Parameters:
authenticationType
- The new authentication type for theGraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuthenticationType
,AuthenticationType
-
userPoolConfig
UpdateGraphqlApiRequest.Builder userPoolConfig(UserPoolConfig userPoolConfig)
The new Amazon Cognito user pool configuration for the
~GraphqlApi
object.- Parameters:
userPoolConfig
- The new Amazon Cognito user pool configuration for the~GraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolConfig
default UpdateGraphqlApiRequest.Builder userPoolConfig(Consumer<UserPoolConfig.Builder> userPoolConfig)
The new Amazon Cognito user pool configuration for the
This is a convenience method that creates an instance of the~GraphqlApi
object.UserPoolConfig.Builder
avoiding the need to create one manually viaUserPoolConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserPoolConfig(UserPoolConfig)
.- Parameters:
userPoolConfig
- a consumer that will call methods onUserPoolConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
userPoolConfig(UserPoolConfig)
-
openIDConnectConfig
UpdateGraphqlApiRequest.Builder openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration for the
GraphqlApi
object.- Parameters:
openIDConnectConfig
- The OpenID Connect configuration for theGraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openIDConnectConfig
default UpdateGraphqlApiRequest.Builder openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)
The OpenID Connect configuration for the
This is a convenience method that creates an instance of theGraphqlApi
object.OpenIDConnectConfig.Builder
avoiding the need to create one manually viaOpenIDConnectConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenIDConnectConfig(OpenIDConnectConfig)
.- Parameters:
openIDConnectConfig
- a consumer that will call methods onOpenIDConnectConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
openIDConnectConfig(OpenIDConnectConfig)
-
additionalAuthenticationProviders
UpdateGraphqlApiRequest.Builder additionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi
API.- Parameters:
additionalAuthenticationProviders
- A list of additional authentication providers for theGraphqlApi
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAuthenticationProviders
UpdateGraphqlApiRequest.Builder additionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi
API.- Parameters:
additionalAuthenticationProviders
- A list of additional authentication providers for theGraphqlApi
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAuthenticationProviders
UpdateGraphqlApiRequest.Builder additionalAuthenticationProviders(Consumer<AdditionalAuthenticationProvider.Builder>... additionalAuthenticationProviders)
A list of additional authentication providers for the
This is a convenience method that creates an instance of theGraphqlApi
API.AdditionalAuthenticationProvider.Builder
avoiding the need to create one manually viaAdditionalAuthenticationProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#additionalAuthenticationProviders(List
.) - Parameters:
additionalAuthenticationProviders
- a consumer that will call methods onAdditionalAuthenticationProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#additionalAuthenticationProviders(java.util.Collection
)
-
xrayEnabled
UpdateGraphqlApiRequest.Builder xrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for the
GraphqlApi
.- Parameters:
xrayEnabled
- A flag indicating whether to use X-Ray tracing for theGraphqlApi
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaAuthorizerConfig
UpdateGraphqlApiRequest.Builder lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
- Parameters:
lambdaAuthorizerConfig
- Configuration for Lambda function authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaAuthorizerConfig
default UpdateGraphqlApiRequest.Builder lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
This is a convenience method that creates an instance of theLambdaAuthorizerConfig.Builder
avoiding the need to create one manually viaLambdaAuthorizerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaAuthorizerConfig(LambdaAuthorizerConfig)
.- Parameters:
lambdaAuthorizerConfig
- a consumer that will call methods onLambdaAuthorizerConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lambdaAuthorizerConfig(LambdaAuthorizerConfig)
-
mergedApiExecutionRoleArn
UpdateGraphqlApiRequest.Builder mergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the
AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.- Parameters:
mergedApiExecutionRoleArn
- The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt theAUTO_MERGE
to update the merged API endpoint with the source API changes automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerContact
UpdateGraphqlApiRequest.Builder ownerContact(String ownerContact)
The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
- Parameters:
ownerContact
- The owner contact information for an API resource.This field accepts any string input with a length of 0 - 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
introspectionConfig
UpdateGraphqlApiRequest.Builder introspectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED
) or disable (DISABLED
) introspection. If no value is provided, the introspection configuration will be set toENABLED
by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.For more information about introspection, see GraphQL introspection.
- Parameters:
introspectionConfig
- Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
) introspection. If no value is provided, the introspection configuration will be set toENABLED
by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.For more information about introspection, see GraphQL introspection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GraphQLApiIntrospectionConfig
,GraphQLApiIntrospectionConfig
-
introspectionConfig
UpdateGraphqlApiRequest.Builder introspectionConfig(GraphQLApiIntrospectionConfig introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED
) or disable (DISABLED
) introspection. If no value is provided, the introspection configuration will be set toENABLED
by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.For more information about introspection, see GraphQL introspection.
- Parameters:
introspectionConfig
- Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
) introspection. If no value is provided, the introspection configuration will be set toENABLED
by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.For more information about introspection, see GraphQL introspection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GraphQLApiIntrospectionConfig
,GraphQLApiIntrospectionConfig
-
queryDepthLimit
UpdateGraphqlApiRequest.Builder queryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is
0
(or unspecified), which indicates there's no depth limit. If you set a limit, it can be between1
and75
nested levels. This field will produce a limit error if the operation falls out of bounds.Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
- Parameters:
queryDepthLimit
- The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is0
(or unspecified), which indicates there's no depth limit. If you set a limit, it can be between1
and75
nested levels. This field will produce a limit error if the operation falls out of bounds.Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverCountLimit
UpdateGraphqlApiRequest.Builder resolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request. The default value is
0
(or unspecified), which will set the limit to10000
. When specified, the limit value can be between1
and10000
. This field will produce a limit error if the operation falls out of bounds.- Parameters:
resolverCountLimit
- The maximum number of resolvers that can be invoked in a single request. The default value is0
(or unspecified), which will set the limit to10000
. When specified, the limit value can be between1
and10000
. This field will produce a limit error if the operation falls out of bounds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateGraphqlApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGraphqlApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-