Interface GetStreamUrlResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetStreamUrlResponse.Builder,,GetStreamUrlResponse> GameLiftStreamsResponse.Builder,SdkBuilder<GetStreamUrlResponse.Builder,,GetStreamUrlResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetStreamUrlResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalEnvironmentVariables(Map<String, String> additionalEnvironmentVariables) The environment variables made available to the application when a stream session starts.additionalLaunchArgs(String... additionalLaunchArgs) The command-line arguments passed to the application when a stream session starts.additionalLaunchArgs(Collection<String> additionalLaunchArgs) The command-line arguments passed to the application when a stream session starts.applicationArn(String applicationArn) The application that runs in the stream sessions.The Amazon Resource Name (ARN) that uniquely identifies the stream URL across all Amazon Web Services Regions.A timestamp that indicates when this resource was created.description(String description) The descriptive label for the stream URL.default GetStreamUrlResponse.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.The date and time when the stream URL expires and stops accepting new stream sessions.The list of locations, in order of preference, where Amazon GameLift Streams places the stream session.locations(Collection<String> locations) The list of locations, in order of preference, where Amazon GameLift Streams places the stream session.The data transport protocol used for stream sessions started from this stream URL.The data transport protocol used for stream sessions started from this stream URL.remainingUses(Integer remainingUses) The number of times the stream URL can still be used to start a 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.The current status of the stream URL.status(StreamUrlStatus status) The current status of the stream URL.statusReason(String statusReason) Additional information about why the stream URL is in its current status.statusReason(StreamUrlStatusReason statusReason) Additional information about why the stream URL is in its current status.streamGroupArn(String streamGroupArn) The stream group that runs the stream sessions.streamSessions(Collection<StreamSessionSummary> streamSessions) A list of the stream sessions that have been started through this stream URL.streamSessions(Consumer<StreamSessionSummary.Builder>... streamSessions) A list of the stream sessions that have been started through this stream URL.streamSessions(StreamSessionSummary... streamSessions) A list of the stream sessions that have been started through this stream URL.The shareable stream URL.streamUrlId(String streamUrlId) The unique identifier for the stream URL resource, for examplesu-1AB2C3De4.usageLimit(Integer usageLimit) The maximum number of times the stream URL can start a stream session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gameliftstreams.model.GameLiftStreamsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) that uniquely identifies the stream URL across all Amazon Web Services Regions. Format is
arn:aws:gameliftstreams:[AWS Region]:[AWS account]:streamurl/[stream group resource ID]/[stream URL resource ID].- Parameters:
arn- The Amazon Resource Name (ARN) that uniquely identifies the stream URL across all Amazon Web Services Regions. Format isarn:aws:gameliftstreams:[AWS Region]:[AWS account]:streamurl/[stream group resource ID]/[stream URL resource ID].- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamUrlId
The unique identifier for the stream URL resource, for example
su-1AB2C3De4.- Parameters:
streamUrlId- The unique identifier for the stream URL resource, for examplesu-1AB2C3De4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamUrl
The shareable stream URL. Distribute this URL to end users so that they can start and play a stream session in a hosted web player. Treat the stream URL as a secret. Anyone who has it can start a stream session until the stream URL expires, is revoked, or reaches its usage limit.
- Parameters:
streamUrl- The shareable stream URL. Distribute this URL to end users so that they can start and play a stream session in a hosted web player. Treat the stream URL as a secret. Anyone who has it can start a stream session until the stream URL expires, is revoked, or reaches its usage limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the stream URL. Possible statuses include the following:
-
ACTIVE: The stream URL is valid and can start stream sessions. -
EXPIRED: The stream URL has passed its expiration time and can no longer start stream sessions. -
REVOKED: The stream URL was revoked and can no longer start stream sessions. -
LIMIT_REACHED: The stream URL has been used the maximum number of times and can no longer start stream sessions.
- Parameters:
status- The current status of the stream URL. Possible statuses include the following:-
ACTIVE: The stream URL is valid and can start stream sessions. -
EXPIRED: The stream URL has passed its expiration time and can no longer start stream sessions. -
REVOKED: The stream URL was revoked and can no longer start stream sessions. -
LIMIT_REACHED: The stream URL has been used the maximum number of times and can no longer start stream sessions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current status of the stream URL. Possible statuses include the following:
-
ACTIVE: The stream URL is valid and can start stream sessions. -
EXPIRED: The stream URL has passed its expiration time and can no longer start stream sessions. -
REVOKED: The stream URL was revoked and can no longer start stream sessions. -
LIMIT_REACHED: The stream URL has been used the maximum number of times and can no longer start stream sessions.
- Parameters:
status- The current status of the stream URL. Possible statuses include the following:-
ACTIVE: The stream URL is valid and can start stream sessions. -
EXPIRED: The stream URL has passed its expiration time and can no longer start stream sessions. -
REVOKED: The stream URL was revoked and can no longer start stream sessions. -
LIMIT_REACHED: The stream URL has been used the maximum number of times and can no longer start stream sessions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusReason
Additional information about why the stream URL is in its current status. Amazon GameLift Streams populates this value when the status is
REVOKED. Possible values include the following:-
userRevoked: You revoked the stream URL. -
revokedAndTerminatingSessions: You revoked the stream URL and Amazon GameLift Streams is ending its running stream sessions. -
revokedAndSessionsTerminated: You revoked the stream URL and its running stream sessions have ended. -
streamGroupDeleted: The stream group was deleted, which revoked the stream URL. -
applicationDeleted: The application was deleted, which revoked the stream URL.
- Parameters:
statusReason- Additional information about why the stream URL is in its current status. Amazon GameLift Streams populates this value when the status isREVOKED. Possible values include the following:-
userRevoked: You revoked the stream URL. -
revokedAndTerminatingSessions: You revoked the stream URL and Amazon GameLift Streams is ending its running stream sessions. -
revokedAndSessionsTerminated: You revoked the stream URL and its running stream sessions have ended. -
streamGroupDeleted: The stream group was deleted, which revoked the stream URL. -
applicationDeleted: The application was deleted, which revoked the stream URL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusReason
Additional information about why the stream URL is in its current status. Amazon GameLift Streams populates this value when the status is
REVOKED. Possible values include the following:-
userRevoked: You revoked the stream URL. -
revokedAndTerminatingSessions: You revoked the stream URL and Amazon GameLift Streams is ending its running stream sessions. -
revokedAndSessionsTerminated: You revoked the stream URL and its running stream sessions have ended. -
streamGroupDeleted: The stream group was deleted, which revoked the stream URL. -
applicationDeleted: The application was deleted, which revoked the stream URL.
- Parameters:
statusReason- Additional information about why the stream URL is in its current status. Amazon GameLift Streams populates this value when the status isREVOKED. Possible values include the following:-
userRevoked: You revoked the stream URL. -
revokedAndTerminatingSessions: You revoked the stream URL and Amazon GameLift Streams is ending its running stream sessions. -
revokedAndSessionsTerminated: You revoked the stream URL and its running stream sessions have ended. -
streamGroupDeleted: The stream group was deleted, which revoked the stream URL. -
applicationDeleted: The application was deleted, which revoked the stream URL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
expiresAt
The date and time when the stream URL expires and stops accepting new stream sessions. Timestamps are expressed using in ISO8601 format, such as:
2022-12-27T22:29:40+00:00(UTC).- Parameters:
expiresAt- The date and time when the stream URL expires and stops accepting new stream sessions. Timestamps are expressed using in ISO8601 format, such as:2022-12-27T22:29:40+00:00(UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
A timestamp that indicates when this resource was created. Timestamps are expressed using in ISO8601 format, such as:
2022-12-27T22:29:40+00:00(UTC).- Parameters:
createdAt- A timestamp that indicates when this resource was created. Timestamps are expressed using in ISO8601 format, such as:2022-12-27T22:29:40+00:00(UTC).- 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.
- Parameters:
usageLimit- The maximum number of times the stream URL can start a stream session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remainingUses
The number of times the stream URL can still be used to start a stream session.
- Parameters:
remainingUses- The number of times the stream URL can still be used to start a stream session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamGroupArn
The stream group that runs the stream sessions.
This value is an Amazon Resource Name (ARN) that uniquely identifies the stream group resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4.- Parameters:
streamGroupArn- The stream group that runs the stream sessions.This value is an Amazon Resource Name (ARN) that uniquely identifies the stream group resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationArn
The application that runs in the stream sessions.
This value is an Amazon Resource Name (ARN) that uniquely identifies the application resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6.- Parameters:
applicationArn- The application that runs in the stream sessions.This value is an Amazon Resource Name (ARN) that uniquely identifies the application resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The data transport protocol used for stream sessions started from this stream URL.
- Parameters:
protocol- The data transport protocol used for stream sessions started from this stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The data transport protocol used for stream sessions started from this stream URL.
- Parameters:
protocol- The data transport protocol used for stream sessions started from this stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locations
The list of locations, in order of preference, where Amazon GameLift Streams places the stream session. 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- The list of locations, in order of preference, where Amazon GameLift Streams places the stream session. 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
The list of locations, in order of preference, where Amazon GameLift Streams places the stream session. 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- The list of locations, in order of preference, where Amazon GameLift Streams places the stream session. 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.
- Parameters:
sessionLengthSeconds- The maximum length of time, in seconds, that a stream session started from this stream URL can run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The descriptive label for the stream URL.
- Parameters:
description- The descriptive label for the stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLaunchArgs
The command-line arguments passed to the application when a stream session starts.
- Parameters:
additionalLaunchArgs- The command-line arguments passed to the application when a stream session starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLaunchArgs
The command-line arguments passed to the application when a stream session starts.
- Parameters:
additionalLaunchArgs- The command-line arguments passed to the application when a stream session starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalEnvironmentVariables
GetStreamUrlResponse.Builder additionalEnvironmentVariables(Map<String, String> additionalEnvironmentVariables) The environment variables made available to the application when a stream session starts.
- Parameters:
additionalEnvironmentVariables- The environment variables made available to the application when a stream session starts.- 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 GetStreamUrlResponse.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:
-
streamSessions
A list of the stream sessions that have been started through this stream URL.
- Parameters:
streamSessions- A list of the stream sessions that have been started through this stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSessions
A list of the stream sessions that have been started through this stream URL.
- Parameters:
streamSessions- A list of the stream sessions that have been started through this stream URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSessions
GetStreamUrlResponse.Builder streamSessions(Consumer<StreamSessionSummary.Builder>... streamSessions) A list of the stream sessions that have been started through this stream URL.
This is a convenience method that creates an instance of theStreamSessionSummary.Builderavoiding the need to create one manually viaStreamSessionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamSessions(List<StreamSessionSummary>).- Parameters:
streamSessions- a consumer that will call methods onStreamSessionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-