Interface CreateStreamUrlRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStreamUrlRequest.Builder,,CreateStreamUrlRequest> GameLiftStreamsRequest.Builder,SdkBuilder<CreateStreamUrlRequest.Builder,,CreateStreamUrlRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStreamUrlRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalEnvironmentVariables(Map<String, String> additionalEnvironmentVariables) A set of options that you can use to control the stream session runtime environment, expressed as a set of key-value pairs.additionalLaunchArgs(String... additionalLaunchArgs) A list of CLI arguments that are sent to the streaming server when a stream session launches.additionalLaunchArgs(Collection<String> additionalLaunchArgs) A list of CLI arguments that are sent to the streaming server when a stream session launches.applicationIdentifier(String applicationIdentifier) An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure this request is idempotent.description(String description) A descriptive label for the stream URL.default CreateStreamUrlRequest.BuilderdisplayConfiguration(Consumer<DisplayConfiguration.Builder> displayConfiguration) The display settings, such as resolution, for stream sessions started from this stream URL.displayConfiguration(DisplayConfiguration displayConfiguration) The display settings, such as resolution, for stream sessions started from this stream URL.identifier(String identifier) An Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource.A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session.locations(Collection<String> locations) A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The data transport protocol for the stream session.The data transport protocol for the stream session.The Amazon Resource Name (ARN) of the IAM role that Amazon GameLift Streams assumes during stream sessions started from this stream URL.sessionLengthSeconds(Integer sessionLengthSeconds) The maximum length of time, in seconds, that a stream session started from this stream URL can run.urlExpiresAfterMinutes(Integer urlExpiresAfterMinutes) The number of minutes after creation that the stream URL remains valid.usageLimit(Integer usageLimit) The maximum number of times the stream URL can start a stream session.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
-
identifier
An 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 session runs in this stream group.
- Parameters:
identifier- An 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 session runs in this stream group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationIdentifier
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6. Example ID:a-9ZY8X7Wv6.This application must be associated with the stream group.
- Parameters:
applicationIdentifier- An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Example ARN:arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6. Example ID:a-9ZY8X7Wv6.This application must be associated with the stream group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The data transport protocol for the stream session. Amazon GameLift Streams supports
WebRTC.- Parameters:
protocol- The data transport protocol for the stream session. Amazon GameLift Streams supportsWebRTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The data transport protocol for the stream session. Amazon GameLift Streams supports
WebRTC.- Parameters:
protocol- The data transport protocol for the stream session. Amazon GameLift Streams supportsWebRTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
urlExpiresAfterMinutes
The number of minutes after creation that the stream URL remains valid. After this period, the status of the stream URL changes to
EXPIREDand it can no longer start stream sessions. The minimum is 1 minute. For the maximum, see Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Parameters:
urlExpiresAfterMinutes- The number of minutes after creation that the stream URL remains valid. After this period, the status of the stream URL changes toEXPIREDand it can no longer start stream sessions. The minimum is 1 minute. For the maximum, see Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLimit
The maximum number of times the stream URL can start a stream session. Each successful use reduces the remaining uses by one. The minimum is 1, and the default is 1. For the maximum, see Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.
- Parameters:
usageLimit- The maximum number of times the stream URL can start a stream session. Each successful use reduces the remaining uses by one. The minimum is 1, and the default is 1. For the maximum, see Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A descriptive label for the stream URL.
- Parameters:
description- A descriptive label for the stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session. Specify each location by its Amazon Web Services Region code, for example
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Parameters:
locations- A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session. Specify each location by its Amazon Web Services Region code, for exampleus-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locations
A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session. Specify each location by its Amazon Web Services Region code, for example
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Parameters:
locations- A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session. Specify each location by its Amazon Web Services Region code, for exampleus-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionLengthSeconds
The maximum length of time, in seconds, that a stream session started from this stream URL can run. Valid values are 1-86400 seconds (1 second to 24 hours). The default is 43200 seconds (12 hours).
- Parameters:
sessionLengthSeconds- The maximum length of time, in seconds, that a stream session started from this stream URL can run. Valid values are 1-86400 seconds (1 second to 24 hours). The default is 43200 seconds (12 hours).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLaunchArgs
A list of CLI arguments that are sent to the streaming server when a stream session launches. You can use this to configure the application or stream session details. You can also provide custom arguments that Amazon GameLift Streams passes to your game client.
AdditionalEnvironmentVariablesandAdditionalLaunchArgshave similar purposes.AdditionalEnvironmentVariablespasses data using environment variables; whileAdditionalLaunchArgspasses data using command-line arguments.- Parameters:
additionalLaunchArgs- A list of CLI arguments that are sent to the streaming server when a stream session launches. You can use this to configure the application or stream session details. You can also provide custom arguments that Amazon GameLift Streams passes to your game client.AdditionalEnvironmentVariablesandAdditionalLaunchArgshave similar purposes.AdditionalEnvironmentVariablespasses data using environment variables; whileAdditionalLaunchArgspasses data using command-line arguments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLaunchArgs
A list of CLI arguments that are sent to the streaming server when a stream session launches. You can use this to configure the application or stream session details. You can also provide custom arguments that Amazon GameLift Streams passes to your game client.
AdditionalEnvironmentVariablesandAdditionalLaunchArgshave similar purposes.AdditionalEnvironmentVariablespasses data using environment variables; whileAdditionalLaunchArgspasses data using command-line arguments.- Parameters:
additionalLaunchArgs- A list of CLI arguments that are sent to the streaming server when a stream session launches. You can use this to configure the application or stream session details. You can also provide custom arguments that Amazon GameLift Streams passes to your game client.AdditionalEnvironmentVariablesandAdditionalLaunchArgshave similar purposes.AdditionalEnvironmentVariablespasses data using environment variables; whileAdditionalLaunchArgspasses data using command-line arguments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalEnvironmentVariables
CreateStreamUrlRequest.Builder additionalEnvironmentVariables(Map<String, String> additionalEnvironmentVariables) A set of options that you can use to control the stream session runtime environment, expressed as a set of key-value pairs. You can use this to configure the application or stream session details. You can also provide custom environment variables that Amazon GameLift Streams passes to your game client.
If you want to debug your application with environment variables, we recommend that you do so in a local environment outside of Amazon GameLift Streams. For more information, refer to the Compatibility Guidance in the troubleshooting section of the Developer Guide.
AdditionalEnvironmentVariablesandAdditionalLaunchArgshave similar purposes.AdditionalEnvironmentVariablespasses data using environment variables; whileAdditionalLaunchArgspasses data using command-line arguments.- Parameters:
additionalEnvironmentVariables- A set of options that you can use to control the stream session runtime environment, expressed as a set of key-value pairs. You can use this to configure the application or stream session details. You can also provide custom environment variables that Amazon GameLift Streams passes to your game client.If you want to debug your application with environment variables, we recommend that you do so in a local environment outside of Amazon GameLift Streams. For more information, refer to the Compatibility Guidance in the troubleshooting section of the Developer Guide.
AdditionalEnvironmentVariablesandAdditionalLaunchArgshave similar purposes.AdditionalEnvironmentVariablespasses data using environment variables; whileAdditionalLaunchArgspasses data using command-line arguments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that Amazon GameLift Streams assumes during stream sessions started from this stream URL. For more information, see Provide AWS credentials to your streaming application in the Amazon GameLift Streams Developer Guide.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that Amazon GameLift Streams assumes during stream sessions started from this stream URL. For more information, see Provide AWS credentials to your streaming application in the Amazon GameLift Streams Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayConfiguration
The display settings, such as resolution, for stream sessions started from this stream URL.
- Parameters:
displayConfiguration- The display settings, such as resolution, for stream sessions started from this stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayConfiguration
default CreateStreamUrlRequest.Builder displayConfiguration(Consumer<DisplayConfiguration.Builder> displayConfiguration) The display settings, such as resolution, for stream sessions started from this stream URL.
This is a convenience method that creates an instance of theDisplayConfiguration.Builderavoiding the need to create one manually viaDisplayConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todisplayConfiguration(DisplayConfiguration).- Parameters:
displayConfiguration- a consumer that will call methods onDisplayConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure this request is idempotent. If you retry a request with the same
ClientToken, Amazon GameLift Streams returns the original response without performing the operation again.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure this request is idempotent. If you retry a request with the sameClientToken, Amazon GameLift Streams returns the original response without performing the operation again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateStreamUrlRequest.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
CreateStreamUrlRequest.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.
-