Class StreamUrlSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamUrlSummary.Builder,StreamUrlSummary>
Describes a stream URL. This is a summary view that omits the full configuration, such as launch arguments and display settings. To retrieve the complete configuration, call GetStreamUrl.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe application that runs in the stream sessions.final Stringarn()The Amazon Resource Name (ARN) that uniquely identifies the stream URL across all Amazon Web Services Regions.static StreamUrlSummary.Builderbuilder()final InstantA timestamp that indicates when this resource was created.final StringThe descriptive label for the stream URL.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThe date and time when the stream URL expires and stops accepting new stream sessions.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of times the stream URL can still be used to start a stream session.static Class<? extends StreamUrlSummary.Builder> final IntegerThe maximum length of time, in seconds, that a stream session started from this stream URL can run.final StreamUrlStatusstatus()The current status of the stream URL.final StringThe current status of the stream URL.final StreamUrlStatusReasonAdditional information about why the stream URL is in its current status.final StringAdditional information about why the stream URL is in its current status.final StringThe stream group that runs the stream sessions.final StringThe shareable stream URL.final StringThe unique identifier for the stream URL resource, for examplesu-1AB2C3De4.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe maximum number of times the stream URL can start a stream session.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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].- Returns:
- 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].
-
streamUrlId
The unique identifier for the stream URL resource, for example
su-1AB2C3De4.- Returns:
- The unique identifier for the stream URL resource, for example
su-1AB2C3De4.
-
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:
- 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.
-
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStreamUrlStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
-
-
statusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStreamUrlStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- 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.
If the service returns an enum value that is not available in the current SDK version,
statusReasonwill returnStreamUrlStatusReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusReasonAsString().- Returns:
- 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.
-
- See Also:
-
-
statusReasonAsString
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.
If the service returns an enum value that is not available in the current SDK version,
statusReasonwill returnStreamUrlStatusReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusReasonAsString().- Returns:
- 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.
-
- 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).- Returns:
- 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).
-
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:
- 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).
-
usageLimit
The maximum number of times the stream URL can start a stream session.
- Returns:
- The maximum number of times the stream URL can start a stream session.
-
remainingUses
The number of times the stream URL can still be used to start a stream session.
- Returns:
- The number of times the stream URL can still be used to start a stream session.
-
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:
- 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.
-
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:
- 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.
-
sessionLengthSeconds
The maximum length of time, in seconds, that a stream session started from this stream URL can run.
- Returns:
- The maximum length of time, in seconds, that a stream session started from this stream URL can run.
-
description
The descriptive label for the stream URL.
- Returns:
- The descriptive label for the stream URL.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamUrlSummary.Builder,StreamUrlSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-