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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LaunchProfile.Builderarn(String arn)The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it.LaunchProfile.BuildercreatedAt(Instant createdAt)The ISO timestamp in seconds for when the resource was created.LaunchProfile.BuildercreatedBy(String createdBy)The user ID of the user that created the launch profile.LaunchProfile.Builderdescription(String description)A human-readable description of the launch profile.LaunchProfile.Builderec2SubnetIds(String... ec2SubnetIds)Unique identifiers for a collection of EC2 subnets.LaunchProfile.Builderec2SubnetIds(Collection<String> ec2SubnetIds)Unique identifiers for a collection of EC2 subnets.LaunchProfile.BuilderlaunchProfileId(String launchProfileId)The ID of the launch profile used to control access from the streaming session.LaunchProfile.BuilderlaunchProfileProtocolVersions(String... launchProfileProtocolVersions)The version number of the protocol that is used by the launch profile.LaunchProfile.BuilderlaunchProfileProtocolVersions(Collection<String> launchProfileProtocolVersions)The version number of the protocol that is used by the launch profile.LaunchProfile.Buildername(String name)A friendly name for the launch profile.LaunchProfile.Builderstate(String state)The current state.LaunchProfile.Builderstate(LaunchProfileState state)The current state.LaunchProfile.BuilderstatusCode(String statusCodeValue)The status code.LaunchProfile.BuilderstatusCode(LaunchProfileStatusCode statusCodeValue)The status code.LaunchProfile.BuilderstatusMessage(String statusMessage)The status message for the launch profile.default LaunchProfile.BuilderstreamConfiguration(Consumer<StreamConfiguration.Builder> streamConfiguration)A configuration for a streaming session.LaunchProfile.BuilderstreamConfiguration(StreamConfiguration streamConfiguration)A configuration for a streaming session.LaunchProfile.BuilderstudioComponentIds(String... studioComponentIds)Unique identifiers for a collection of studio components that can be used with this launch profile.LaunchProfile.BuilderstudioComponentIds(Collection<String> studioComponentIds)Unique identifiers for a collection of studio components that can be used with this launch profile.LaunchProfile.Buildertags(Map<String,String> tags)A collection of labels, in the form of key-value pairs, that apply to this resource.LaunchProfile.BuilderupdatedAt(Instant updatedAt)The ISO timestamp in seconds for when the resource was updated.LaunchProfile.BuilderupdatedBy(String updatedBy)The user ID of the user that most recently updated the resource.LaunchProfile.BuildervalidationResults(Collection<ValidationResult> validationResults)The list of the latest validation results.LaunchProfile.BuildervalidationResults(Consumer<ValidationResult.Builder>... validationResults)The list of the latest validation results.LaunchProfile.BuildervalidationResults(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 Detail
-
arn
LaunchProfile.Builder arn(String 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
LaunchProfile.Builder name(String 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
LaunchProfile.Builder state(String 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:
LaunchProfileState,LaunchProfileState
-
state
LaunchProfile.Builder state(LaunchProfileState 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:
LaunchProfileState,LaunchProfileState
-
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:
LaunchProfileStatusCode,LaunchProfileStatusCode
-
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:
LaunchProfileStatusCode,LaunchProfileStatusCode
-
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 theStreamConfiguration.Builderavoiding the need to create one manually viaStreamConfiguration.builder().When the
Consumercompletes,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:
streamConfiguration(StreamConfiguration)
-
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
LaunchProfile.Builder tags(Map<String,String> 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 theValidationResult.Builderavoiding the need to create one manually viaValidationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationResults(List.) - 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:
#validationResults(java.util.Collection)
-
-