Interface PostToConnectionRequest.Builder
- All Superinterfaces:
ApiGatewayManagementApiRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<PostToConnectionRequest.Builder,
,PostToConnectionRequest> SdkBuilder<PostToConnectionRequest.Builder,
,PostToConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PostToConnectionRequest
public static interface PostToConnectionRequest.Builder
extends ApiGatewayManagementApiRequest.Builder, SdkPojo, CopyableBuilder<PostToConnectionRequest.Builder,PostToConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId
(String connectionId) The identifier of the connection that a specific client is using.The data to be sent to the client specified by its connection id.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.apigatewaymanagementapi.model.ApiGatewayManagementApiRequest.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
-
data
The data to be sent to the client specified by its connection id.
- Parameters:
data
- The data to be sent to the client specified by its connection id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionId
The identifier of the connection that a specific client is using.
- Parameters:
connectionId
- The identifier of the connection that a specific client is using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PostToConnectionRequest.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
PostToConnectionRequest.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.
-