Interface LaunchProfile.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchProfile.Builder,
,LaunchProfile> SdkBuilder<LaunchProfile.Builder,
,LaunchProfile> SdkPojo
- Enclosing class:
LaunchProfile
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it.The ISO timestamp in seconds for when the resource was created.The user ID of the user that created the launch profile.description
(String description) A human-readable description of the launch profile.ec2SubnetIds
(String... ec2SubnetIds) Unique identifiers for a collection of EC2 subnets.ec2SubnetIds
(Collection<String> ec2SubnetIds) Unique identifiers for a collection of EC2 subnets.launchProfileId
(String launchProfileId) The ID of the launch profile used to control access from the streaming session.launchProfileProtocolVersions
(String... launchProfileProtocolVersions) The version number of the protocol that is used by the launch profile.launchProfileProtocolVersions
(Collection<String> launchProfileProtocolVersions) The version number of the protocol that is used by the launch profile.A friendly name for the launch profile.The current state.state
(LaunchProfileState state) The current state.statusCode
(String statusCodeValue) The status code.statusCode
(LaunchProfileStatusCode statusCodeValue) The status code.statusMessage
(String statusMessage) The status message for the launch profile.default LaunchProfile.Builder
streamConfiguration
(Consumer<StreamConfiguration.Builder> streamConfiguration) A configuration for a streaming session.streamConfiguration
(StreamConfiguration streamConfiguration) A configuration for a streaming session.studioComponentIds
(String... studioComponentIds) Unique identifiers for a collection of studio components that can be used with this launch profile.studioComponentIds
(Collection<String> studioComponentIds) Unique identifiers for a collection of studio components that can be used with this launch profile.A collection of labels, in the form of key-value pairs, that apply to this resource.The ISO timestamp in seconds for when the resource was updated.The user ID of the user that most recently updated the resource.validationResults
(Collection<ValidationResult> validationResults) The list of the latest validation results.validationResults
(Consumer<ValidationResult.Builder>... validationResults) The list of the latest validation results.validationResults
(ValidationResult... validationResults) The list of the latest validation results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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
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
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
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
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
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
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 theStreamConfiguration.Builder
avoiding the need to create one manually viaStreamConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamConfiguration(StreamConfiguration)
.- Parameters:
streamConfiguration
- a consumer that will call methods onStreamConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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
The list of the latest validation results.
This is a convenience method that creates an instance of theValidationResult.Builder
avoiding the need to create one manually viaValidationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationResults(List<ValidationResult>)
.- Parameters:
validationResults
- a consumer that will call methods onValidationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-