Interface LaunchProfile.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LaunchProfile.Builder,LaunchProfile>, SdkBuilder<LaunchProfile.Builder,LaunchProfile>, SdkPojo
Enclosing class:
LaunchProfile

public static interface LaunchProfile.Builder extends SdkPojo, CopyableBuilder<LaunchProfile.Builder,LaunchProfile>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.

      Parameters:
      arn - The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      LaunchProfile.Builder createdAt(Instant createdAt)

      The ISO timestamp in seconds for when the resource was created.

      Parameters:
      createdAt - The ISO timestamp in seconds for when the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      LaunchProfile.Builder createdBy(String createdBy)

      The user ID of the user that created the launch profile.

      Parameters:
      createdBy - The user ID of the user that created the launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      LaunchProfile.Builder description(String description)

      A human-readable description of the launch profile.

      Parameters:
      description - A human-readable description of the launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2SubnetIds

      LaunchProfile.Builder ec2SubnetIds(Collection<String> ec2SubnetIds)

      Unique identifiers for a collection of EC2 subnets.

      Parameters:
      ec2SubnetIds - Unique identifiers for a collection of EC2 subnets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2SubnetIds

      LaunchProfile.Builder ec2SubnetIds(String... ec2SubnetIds)

      Unique identifiers for a collection of EC2 subnets.

      Parameters:
      ec2SubnetIds - Unique identifiers for a collection of EC2 subnets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchProfileId

      LaunchProfile.Builder launchProfileId(String launchProfileId)

      The ID of the launch profile used to control access from the streaming session.

      Parameters:
      launchProfileId - The ID of the launch profile used to control access from the streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchProfileProtocolVersions

      LaunchProfile.Builder launchProfileProtocolVersions(Collection<String> launchProfileProtocolVersions)

      The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      Parameters:
      launchProfileProtocolVersions - The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchProfileProtocolVersions

      LaunchProfile.Builder launchProfileProtocolVersions(String... launchProfileProtocolVersions)

      The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".

      Parameters:
      launchProfileProtocolVersions - The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A friendly name for the launch profile.

      Parameters:
      name - A friendly name for the launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state.

      Parameters:
      state - The current state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state.

      Parameters:
      state - The current state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      LaunchProfile.Builder statusCode(String statusCodeValue)

      The status code.

      Parameters:
      statusCodeValue - The status code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusCode

      LaunchProfile.Builder statusCode(LaunchProfileStatusCode statusCodeValue)

      The status code.

      Parameters:
      statusCodeValue - The status code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      LaunchProfile.Builder statusMessage(String statusMessage)

      The status message for the launch profile.

      Parameters:
      statusMessage - The status message for the launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamConfiguration

      LaunchProfile.Builder streamConfiguration(StreamConfiguration streamConfiguration)

      A configuration for a streaming session.

      Parameters:
      streamConfiguration - A configuration for a streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamConfiguration

      default LaunchProfile.Builder streamConfiguration(Consumer<StreamConfiguration.Builder> streamConfiguration)

      A configuration for a streaming session.

      This is a convenience method that creates an instance of the StreamConfiguration.Builder avoiding the need to create one manually via StreamConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to streamConfiguration(StreamConfiguration).

      Parameters:
      streamConfiguration - a consumer that will call methods on StreamConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • studioComponentIds

      LaunchProfile.Builder studioComponentIds(Collection<String> studioComponentIds)

      Unique identifiers for a collection of studio components that can be used with this launch profile.

      Parameters:
      studioComponentIds - Unique identifiers for a collection of studio components that can be used with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • studioComponentIds

      LaunchProfile.Builder studioComponentIds(String... studioComponentIds)

      Unique identifiers for a collection of studio components that can be used with this launch profile.

      Parameters:
      studioComponentIds - Unique identifiers for a collection of studio components that can be used with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A collection of labels, in the form of key-value pairs, that apply to this resource.

      Parameters:
      tags - A collection of labels, in the form of key-value pairs, that apply to this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      LaunchProfile.Builder updatedAt(Instant updatedAt)

      The ISO timestamp in seconds for when the resource was updated.

      Parameters:
      updatedAt - The ISO timestamp in seconds for when the resource was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedBy

      LaunchProfile.Builder updatedBy(String updatedBy)

      The user ID of the user that most recently updated the resource.

      Parameters:
      updatedBy - The user ID of the user that most recently updated the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationResults

      LaunchProfile.Builder validationResults(Collection<ValidationResult> validationResults)

      The list of the latest validation results.

      Parameters:
      validationResults - The list of the latest validation results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationResults

      LaunchProfile.Builder validationResults(ValidationResult... validationResults)

      The list of the latest validation results.

      Parameters:
      validationResults - The list of the latest validation results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationResults

      LaunchProfile.Builder validationResults(Consumer<ValidationResult.Builder>... validationResults)

      The list of the latest validation results.

      This is a convenience method that creates an instance of the ValidationResult.Builder avoiding the need to create one manually via ValidationResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationResults(List<ValidationResult>).

      Parameters:
      validationResults - a consumer that will call methods on ValidationResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: