Interface AssociateSourceGraphqlApiRequest.Builder
- All Superinterfaces:
AppSyncRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateSourceGraphqlApiRequest.Builder,
,AssociateSourceGraphqlApiRequest> SdkBuilder<AssociateSourceGraphqlApiRequest.Builder,
,AssociateSourceGraphqlApiRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateSourceGraphqlApiRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description field.mergedApiIdentifier
(String mergedApiIdentifier) The identifier of the AppSync Merged API.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceApiAssociationConfig
(Consumer<SourceApiAssociationConfig.Builder> sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.sourceApiAssociationConfig
(SourceApiAssociationConfig sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.sourceApiIdentifier
(String sourceApiIdentifier) The identifier of the AppSync Source API.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 Details
-
mergedApiIdentifier
The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
- Parameters:
mergedApiIdentifier
- The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiIdentifier
The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
- Parameters:
sourceApiIdentifier
- The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description field.
- Parameters:
description
- The description field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiAssociationConfig
AssociateSourceGraphqlApiRequest.Builder sourceApiAssociationConfig(SourceApiAssociationConfig sourceApiAssociationConfig) The
SourceApiAssociationConfig
object data.- Parameters:
sourceApiAssociationConfig
- TheSourceApiAssociationConfig
object data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceApiAssociationConfig
default AssociateSourceGraphqlApiRequest.Builder sourceApiAssociationConfig(Consumer<SourceApiAssociationConfig.Builder> sourceApiAssociationConfig) The
This is a convenience method that creates an instance of theSourceApiAssociationConfig
object data.SourceApiAssociationConfig.Builder
avoiding the need to create one manually viaSourceApiAssociationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceApiAssociationConfig(SourceApiAssociationConfig)
.- Parameters:
sourceApiAssociationConfig
- a consumer that will call methods onSourceApiAssociationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociateSourceGraphqlApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateSourceGraphqlApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-