Interface UpdateGraphqlApiRequest.Builder
- All Superinterfaces:
AppSyncRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGraphqlApiRequest.Builder,,UpdateGraphqlApiRequest> SdkBuilder<UpdateGraphqlApiRequest.Builder,,UpdateGraphqlApiRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGraphqlApiRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders) A list of additional authentication providers for theGraphqlApiAPI.additionalAuthenticationProviders(Consumer<AdditionalAuthenticationProvider.Builder>... additionalAuthenticationProviders) A list of additional authentication providers for theGraphqlApiAPI.additionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders) A list of additional authentication providers for theGraphqlApiAPI.The API ID.authenticationType(String authenticationType) The new authentication type for theGraphqlApiobject.authenticationType(AuthenticationType authenticationType) The new authentication type for theGraphqlApiobject.default UpdateGraphqlApiRequest.BuilderlambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig) Configuration for Lambda function authorization.lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig) Configuration for Lambda function authorization.default UpdateGraphqlApiRequest.BuilderlogConfig(Consumer<LogConfig.Builder> logConfig) The Amazon CloudWatch Logs configuration for theGraphqlApiobject.The Amazon CloudWatch Logs configuration for theGraphqlApiobject.mergedApiExecutionRoleArn(String mergedApiExecutionRoleArn) The Identity and Access Management service role ARN for a merged API.The new name for theGraphqlApiobject.default UpdateGraphqlApiRequest.BuilderopenIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig) The OpenID Connect configuration for theGraphqlApiobject.openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig) The OpenID Connect configuration for theGraphqlApiobject.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ownerContact(String ownerContact) The owner contact information for an API resource.default UpdateGraphqlApiRequest.BuilderuserPoolConfig(Consumer<UserPoolConfig.Builder> userPoolConfig) The new Amazon Cognito user pool configuration for the~GraphqlApiobject.userPoolConfig(UserPoolConfig userPoolConfig) The new Amazon Cognito user pool configuration for the~GraphqlApiobject.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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The new name for the
GraphqlApiobject.- Parameters:
name- The new name for theGraphqlApiobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The Amazon CloudWatch Logs configuration for the
GraphqlApiobject.- Parameters:
logConfig- The Amazon CloudWatch Logs configuration for theGraphqlApiobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The Amazon CloudWatch Logs configuration for the
This is a convenience method that creates an instance of theGraphqlApiobject.LogConfig.Builderavoiding the need to create one manually viaLogConfig.builder().When the
Consumercompletes,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:
-
authenticationType
The new authentication type for the
GraphqlApiobject.- Parameters:
authenticationType- The new authentication type for theGraphqlApiobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The new authentication type for the
GraphqlApiobject.- Parameters:
authenticationType- The new authentication type for theGraphqlApiobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userPoolConfig
The new Amazon Cognito user pool configuration for the
~GraphqlApiobject.- Parameters:
userPoolConfig- The new Amazon Cognito user pool configuration for the~GraphqlApiobject.- 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~GraphqlApiobject.UserPoolConfig.Builderavoiding the need to create one manually viaUserPoolConfig.builder().When the
Consumercompletes,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:
-
openIDConnectConfig
The OpenID Connect configuration for the
GraphqlApiobject.- Parameters:
openIDConnectConfig- The OpenID Connect configuration for theGraphqlApiobject.- 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 theGraphqlApiobject.OpenIDConnectConfig.Builderavoiding the need to create one manually viaOpenIDConnectConfig.builder().When the
Consumercompletes,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:
-
additionalAuthenticationProviders
UpdateGraphqlApiRequest.Builder additionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders) A list of additional authentication providers for the
GraphqlApiAPI.- Parameters:
additionalAuthenticationProviders- A list of additional authentication providers for theGraphqlApiAPI.- 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
GraphqlApiAPI.- Parameters:
additionalAuthenticationProviders- A list of additional authentication providers for theGraphqlApiAPI.- 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 theGraphqlApiAPI.AdditionalAuthenticationProvider.Builderavoiding the need to create one manually viaAdditionalAuthenticationProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalAuthenticationProviders(List<AdditionalAuthenticationProvider>).- 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:
-
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.Builderavoiding the need to create one manually viaLambdaAuthorizerConfig.builder().When the
Consumercompletes,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:
-
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_MERGEto 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_MERGEto 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
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.
-
overrideConfiguration
UpdateGraphqlApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGraphqlApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-