Class StreamSessionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamSessionSummary.Builder,StreamSessionSummary>
Describes a Amazon GameLift Streams stream session. To retrieve additional details for the stream session, call GetStreamSession.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAn Amazon Resource Name (ARN) or ID that uniquely identifies the application resource.final Stringarn()An Amazon Resource Name (ARN) that uniquely identifies the stream session resource.static StreamSessionSummary.Builderbuilder()final InstantA timestamp that indicates when this resource was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExportFilesMetadataProvides details about the stream session's exported files.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantA timestamp that indicates when this resource was last updated.final Stringlocation()The location where Amazon GameLift Streams is hosting the stream session.final Protocolprotocol()The data transfer protocol in use with the stream session.final StringThe data transfer protocol in use with the stream session.static Class<? extends StreamSessionSummary.Builder> final StreamSessionStatusstatus()The current status of the stream session resource.final StringThe current status of the stream session resource.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 StringuserId()An opaque, unique identifier for an end-user, defined by the developer.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
applicationArn
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Format example: ARN-
arn:aws:gameliftstreams:us-west-2:123456789012:application/a-9ZY8X7Wv6or ID-a-9ZY8X7Wv6.- Returns:
- An Amazon Resource Name
(ARN) or ID that uniquely identifies the application resource. Format example: ARN-
arn:aws:gameliftstreams:us-west-2:123456789012:application/a-9ZY8X7Wv6or ID-a-9ZY8X7Wv6.
-
arn
An Amazon Resource Name (ARN) that uniquely identifies the stream session resource. Format example:
1AB2C3De4. .- Returns:
- An Amazon Resource Name
(ARN) that uniquely identifies the stream session resource. Format example:
1AB2C3De4. .
-
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).
-
exportFilesMetadata
Provides details about the stream session's exported files.
- Returns:
- Provides details about the stream session's exported files.
-
lastUpdatedAt
A timestamp that indicates when this resource was last updated. 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 last updated. Timestamps are expressed using in ISO8601
format, such as:
2022-12-27T22:29:40+00:00(UTC).
-
location
The location where Amazon GameLift Streams is hosting the stream session.
A location's name. For example,
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions and quotas in the Amazon GameLift Streams Developer Guide.- Returns:
- The location where Amazon GameLift Streams is hosting the stream session.
A location's name. For example,
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions and quotas in the Amazon GameLift Streams Developer Guide.
-
protocol
The data transfer protocol in use with the stream session.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The data transfer protocol in use with the stream session.
- See Also:
-
protocolAsString
The data transfer protocol in use with the stream session.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The data transfer protocol in use with the stream session.
- See Also:
-
status
The current status of the stream session resource. Possible statuses include the following:
-
ACTIVATING: The stream session is starting and preparing to stream. -
ACTIVE: The stream session is ready to accept client connections. -
CONNECTED: The stream session has a connected client. -
PENDING_CLIENT_RECONNECTION: A client has recently disconnected, and the stream session is waiting for the client to reconnect. After a short time, if the client doesn't reconnect, the stream session status transitions toTERMINATED. -
TERMINATING: The stream session is ending. -
TERMINATED: The stream session has ended. -
ERROR: The stream session failed to activate.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStreamSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the stream session resource. Possible statuses include the following:
-
ACTIVATING: The stream session is starting and preparing to stream. -
ACTIVE: The stream session is ready to accept client connections. -
CONNECTED: The stream session has a connected client. -
PENDING_CLIENT_RECONNECTION: A client has recently disconnected, and the stream session is waiting for the client to reconnect. After a short time, if the client doesn't reconnect, the stream session status transitions toTERMINATED. -
TERMINATING: The stream session is ending. -
TERMINATED: The stream session has ended. -
ERROR: The stream session failed to activate.
-
- See Also:
-
-
statusAsString
The current status of the stream session resource. Possible statuses include the following:
-
ACTIVATING: The stream session is starting and preparing to stream. -
ACTIVE: The stream session is ready to accept client connections. -
CONNECTED: The stream session has a connected client. -
PENDING_CLIENT_RECONNECTION: A client has recently disconnected, and the stream session is waiting for the client to reconnect. After a short time, if the client doesn't reconnect, the stream session status transitions toTERMINATED. -
TERMINATING: The stream session is ending. -
TERMINATED: The stream session has ended. -
ERROR: The stream session failed to activate.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStreamSessionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the stream session resource. Possible statuses include the following:
-
ACTIVATING: The stream session is starting and preparing to stream. -
ACTIVE: The stream session is ready to accept client connections. -
CONNECTED: The stream session has a connected client. -
PENDING_CLIENT_RECONNECTION: A client has recently disconnected, and the stream session is waiting for the client to reconnect. After a short time, if the client doesn't reconnect, the stream session status transitions toTERMINATED. -
TERMINATING: The stream session is ending. -
TERMINATED: The stream session has ended. -
ERROR: The stream session failed to activate.
-
- See Also:
-
-
userId
An opaque, unique identifier for an end-user, defined by the developer.
- Returns:
- An opaque, unique identifier for an end-user, defined by the developer.
-
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<StreamSessionSummary.Builder,StreamSessionSummary> - 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.
-