Interface CreateStreamSessionConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStreamSessionConnectionRequest.Builder,,CreateStreamSessionConnectionRequest> GameLiftStreamsRequest.Builder,SdkBuilder<CreateStreamSessionConnectionRequest.Builder,,CreateStreamSessionConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStreamSessionConnectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier that represents a client request.identifier(String identifier) Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.signalRequest(String signalRequest) A WebRTC ICE offer string to use when initializing a WebRTC connection.streamSessionIdentifier(String streamSessionIdentifier) Amazon Resource Name (ARN) or ID that uniquely identifies the stream session resource.Methods 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.services.gameliftstreams.model.GameLiftStreamsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique identifier that represents a client request. The request is idempotent, which ensures that an API request completes only once. When users send a request, Amazon GameLift Streams automatically populates this field.
- Parameters:
clientToken- A unique identifier that represents a client request. The request is idempotent, which ensures that an API request completes only once. When users send a request, Amazon GameLift Streams automatically populates this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4. Example ID:sg-1AB2C3De4.The stream group that you want to run this stream session with. The stream group must be in
ACTIVEstatus.- Parameters:
identifier- Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN:arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4. Example ID:sg-1AB2C3De4.The stream group that you want to run this stream session with. The stream group must be in
ACTIVEstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSessionIdentifier
CreateStreamSessionConnectionRequest.Builder streamSessionIdentifier(String streamSessionIdentifier) Amazon Resource Name (ARN) or ID that uniquely identifies the stream session resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamsession/sg-1AB2C3De4/ABC123def4567. Example ID:ABC123def4567.The stream session must be in
PENDING_CLIENT_RECONNECTIONorACTIVEstatus.- Parameters:
streamSessionIdentifier- Amazon Resource Name (ARN) or ID that uniquely identifies the stream session resource. Example ARN:arn:aws:gameliftstreams:us-west-2:111122223333:streamsession/sg-1AB2C3De4/ABC123def4567. Example ID:ABC123def4567.The stream session must be in
PENDING_CLIENT_RECONNECTIONorACTIVEstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalRequest
A WebRTC ICE offer string to use when initializing a WebRTC connection. The offer is a very long JSON string. Provide the string as a text value in quotes. The offer must be newly generated, not the same offer provided to
StartStreamSession.- Parameters:
signalRequest- A WebRTC ICE offer string to use when initializing a WebRTC connection. The offer is a very long JSON string. Provide the string as a text value in quotes. The offer must be newly generated, not the same offer provided toStartStreamSession.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStreamSessionConnectionRequest.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
CreateStreamSessionConnectionRequest.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.
-