Interface UpdateApiRequest.Builder
- All Superinterfaces:
AppSyncRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApiRequest.Builder,
,UpdateApiRequest> SdkBuilder<UpdateApiRequest.Builder,
,UpdateApiRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApiRequest
@Mutable
@NotThreadSafe
public static interface UpdateApiRequest.Builder
extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateApiRequest.Builder,UpdateApiRequest>
-
Method Summary
Modifier and TypeMethodDescriptionTheApi
ID.default UpdateApiRequest.Builder
eventConfig
(Consumer<EventConfig.Builder> eventConfig) The new event configuration.eventConfig
(EventConfig eventConfig) The new event configuration.The name of the Api.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 theApi
.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, sdkFieldNameToField, sdkFields
-
Method Details
-
apiId
The
Api
ID.- Parameters:
apiId
- TheApi
ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the Api.
- Parameters:
name
- The name of the Api.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerContact
The owner contact information for the
Api
.- Parameters:
ownerContact
- The owner contact information for theApi
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventConfig
The new event configuration. This includes the default authorization configuration for connecting, publishing, and subscribing to an Event API.
- Parameters:
eventConfig
- The new event configuration. This includes the default authorization configuration for connecting, publishing, and subscribing to an Event API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventConfig
The new event configuration. This includes the default authorization configuration for connecting, publishing, and subscribing to an Event API.
This is a convenience method that creates an instance of theEventConfig.Builder
avoiding the need to create one manually viaEventConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventConfig(EventConfig)
.- Parameters:
eventConfig
- a consumer that will call methods onEventConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateApiRequest.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
UpdateApiRequest.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.
-