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
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
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-