Interface CreateLaunchProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLaunchProfileRequest.Builder,
,CreateLaunchProfileRequest> NimbleRequest.Builder
,SdkBuilder<CreateLaunchProfileRequest.Builder,
,CreateLaunchProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLaunchProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description
(String description) The description.ec2SubnetIds
(String... ec2SubnetIds) Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.ec2SubnetIds
(Collection<String> ec2SubnetIds) Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.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.The name for the launch profile.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.streamConfiguration
(Consumer<StreamConfigurationCreate.Builder> streamConfiguration) A configuration for a streaming session.streamConfiguration
(StreamConfigurationCreate 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.The studio ID.A collection of labels, in the form of key-value pairs, that apply to this resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.nimble.model.NimbleRequest.Builder
build
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
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SubnetIds
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
- Parameters:
ec2SubnetIds
- Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SubnetIds
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
- Parameters:
ec2SubnetIds
- Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchProfileProtocolVersions
CreateLaunchProfileRequest.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
CreateLaunchProfileRequest.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
The name for the launch profile.
- Parameters:
name
- The name for the launch profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfiguration
CreateLaunchProfileRequest.Builder streamConfiguration(StreamConfigurationCreate 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 CreateLaunchProfileRequest.Builder streamConfiguration(Consumer<StreamConfigurationCreate.Builder> streamConfiguration) A configuration for a streaming session.
This is a convenience method that creates an instance of theStreamConfigurationCreate.Builder
avoiding the need to create one manually viaStreamConfigurationCreate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamConfiguration(StreamConfigurationCreate)
.- Parameters:
streamConfiguration
- a consumer that will call methods onStreamConfigurationCreate.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.
-
studioId
The studio ID.
- Parameters:
studioId
- The studio ID.- 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.
-
overrideConfiguration
CreateLaunchProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLaunchProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-