Interface StreamUrlSummary.Builder

  • 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 is arn: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

      StreamUrlSummary.Builder streamUrlId(String streamUrlId)

      The unique identifier for the stream URL resource, for example su-1AB2C3De4.

      Parameters:
      streamUrlId - The unique identifier for the stream URL resource, for example su-1AB2C3De4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamUrl

      StreamUrlSummary.Builder streamUrl(String 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

      StreamUrlSummary.Builder statusReason(String 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 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      StreamUrlSummary.Builder statusReason(StreamUrlStatusReason 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 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expiresAt

      StreamUrlSummary.Builder expiresAt(Instant 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

      StreamUrlSummary.Builder createdAt(Instant 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

      StreamUrlSummary.Builder usageLimit(Integer 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

      StreamUrlSummary.Builder remainingUses(Integer 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

      StreamUrlSummary.Builder streamGroupArn(String 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

      StreamUrlSummary.Builder applicationArn(String 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.
    • sessionLengthSeconds

      StreamUrlSummary.Builder sessionLengthSeconds(Integer 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

      StreamUrlSummary.Builder description(String 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.