Interface ShaderCacheSummary.Builder

  • Method Details

    • identifier

      ShaderCacheSummary.Builder identifier(String identifier)

      A unique identifier for the shader cache, formatted as a 32-character hexadecimal string. Format is 1271e693c50b940e228582f1ccdd4e27.

      Parameters:
      identifier - A unique identifier for the shader cache, formatted as a 32-character hexadecimal string. Format is 1271e693c50b940e228582f1ccdd4e27.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationArn

      ShaderCacheSummary.Builder applicationArn(String applicationArn)

      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 - 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.
    • status

      The current status of the shader cache. Possible statuses include the following:

      • INITIALIZED: Amazon GameLift Streams received the request and is preparing the shader cache.

      • PROCESSING: Amazon GameLift Streams is replicating the shader cache to the streaming locations in the associated stream groups.

      • READY: The shader cache is replicated and available for use in stream sessions.

      • DELETING: Amazon GameLift Streams is deleting the shader cache.

      • ERROR: An error occurred during shader cache processing. Create a new shader cache to try again.

      Parameters:
      status - The current status of the shader cache. Possible statuses include the following:

      • INITIALIZED: Amazon GameLift Streams received the request and is preparing the shader cache.

      • PROCESSING: Amazon GameLift Streams is replicating the shader cache to the streaming locations in the associated stream groups.

      • READY: The shader cache is replicated and available for use in stream sessions.

      • DELETING: Amazon GameLift Streams is deleting the shader cache.

      • ERROR: An error occurred during shader cache processing. Create a new shader cache to try again.

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

      The current status of the shader cache. Possible statuses include the following:

      • INITIALIZED: Amazon GameLift Streams received the request and is preparing the shader cache.

      • PROCESSING: Amazon GameLift Streams is replicating the shader cache to the streaming locations in the associated stream groups.

      • READY: The shader cache is replicated and available for use in stream sessions.

      • DELETING: Amazon GameLift Streams is deleting the shader cache.

      • ERROR: An error occurred during shader cache processing. Create a new shader cache to try again.

      Parameters:
      status - The current status of the shader cache. Possible statuses include the following:

      • INITIALIZED: Amazon GameLift Streams received the request and is preparing the shader cache.

      • PROCESSING: Amazon GameLift Streams is replicating the shader cache to the streaming locations in the associated stream groups.

      • READY: The shader cache is replicated and available for use in stream sessions.

      • DELETING: Amazon GameLift Streams is deleting the shader cache.

      • ERROR: An error occurred during shader cache processing. Create a new shader cache to try again.

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

      ShaderCacheSummary.Builder lastUpdatedAt(Instant 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).

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • storageBytes

      ShaderCacheSummary.Builder storageBytes(Long storageBytes)

      The total storage used by all compiled shader files in this shader cache, in bytes.

      Parameters:
      storageBytes - The total storage used by all compiled shader files in this shader cache, in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedStreamGroups

      ShaderCacheSummary.Builder associatedStreamGroups(Collection<String> associatedStreamGroups)

      The stream groups compatible with this shader cache. Compatibility is based on GPU type and GPU driver version. For more information on shader cache compatibility, see Shader caches in the Amazon GameLift Streams Developer Guide.

      This value is a set of Amazon Resource Names (ARNs) that uniquely identify stream group resources. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4.

      Parameters:
      associatedStreamGroups - The stream groups compatible with this shader cache. Compatibility is based on GPU type and GPU driver version. For more information on shader cache compatibility, see Shader caches in the Amazon GameLift Streams Developer Guide.

      This value is a set of Amazon Resource Names (ARNs) that uniquely identify stream group resources. 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.
    • associatedStreamGroups

      ShaderCacheSummary.Builder associatedStreamGroups(String... associatedStreamGroups)

      The stream groups compatible with this shader cache. Compatibility is based on GPU type and GPU driver version. For more information on shader cache compatibility, see Shader caches in the Amazon GameLift Streams Developer Guide.

      This value is a set of Amazon Resource Names (ARNs) that uniquely identify stream group resources. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4.

      Parameters:
      associatedStreamGroups - The stream groups compatible with this shader cache. Compatibility is based on GPU type and GPU driver version. For more information on shader cache compatibility, see Shader caches in the Amazon GameLift Streams Developer Guide.

      This value is a set of Amazon Resource Names (ARNs) that uniquely identify stream group resources. 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.