Interface CreateStudioComponentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStudioComponentRequest.Builder,
,CreateStudioComponentRequest> NimbleRequest.Builder
,SdkBuilder<CreateStudioComponentRequest.Builder,
,CreateStudioComponentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStudioComponentRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.configuration
(Consumer<StudioComponentConfiguration.Builder> configuration) The configuration of the studio component, based on component type.configuration
(StudioComponentConfiguration configuration) The configuration of the studio component, based on component type.description
(String description) The description.ec2SecurityGroupIds
(String... ec2SecurityGroupIds) The EC2 security groups that control access to the studio component.ec2SecurityGroupIds
(Collection<String> ec2SecurityGroupIds) The EC2 security groups that control access to the studio component.initializationScripts
(Collection<StudioComponentInitializationScript> initializationScripts) Initialization scripts for studio components.initializationScripts
(Consumer<StudioComponentInitializationScript.Builder>... initializationScripts) Initialization scripts for studio components.initializationScripts
(StudioComponentInitializationScript... initializationScripts) Initialization scripts for studio components.The name for the studio component.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.runtimeRoleArn
(String runtimeRoleArn) An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.scriptParameters
(Collection<ScriptParameterKeyValue> scriptParameters) Parameters for the studio component scripts.scriptParameters
(Consumer<ScriptParameterKeyValue.Builder>... scriptParameters) Parameters for the studio component scripts.scriptParameters
(ScriptParameterKeyValue... scriptParameters) Parameters for the studio component scripts.secureInitializationRoleArn
(String secureInitializationRoleArn) An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.The studio ID.The specific subtype of a studio component.subtype
(StudioComponentSubtype subtype) The specific subtype of a studio component.A collection of labels, in the form of key-value pairs, that apply to this resource.The type of the studio component.type
(StudioComponentType type) The type of the studio component.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.
-
configuration
The configuration of the studio component, based on component type.
- Parameters:
configuration
- The configuration of the studio component, based on component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateStudioComponentRequest.Builder configuration(Consumer<StudioComponentConfiguration.Builder> configuration) The configuration of the studio component, based on component type.
This is a convenience method that creates an instance of theStudioComponentConfiguration.Builder
avoiding the need to create one manually viaStudioComponentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(StudioComponentConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onStudioComponentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description.
- Parameters:
description
- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupIds
The EC2 security groups that control access to the studio component.
- Parameters:
ec2SecurityGroupIds
- The EC2 security groups that control access to the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupIds
The EC2 security groups that control access to the studio component.
- Parameters:
ec2SecurityGroupIds
- The EC2 security groups that control access to the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initializationScripts
CreateStudioComponentRequest.Builder initializationScripts(Collection<StudioComponentInitializationScript> initializationScripts) Initialization scripts for studio components.
- Parameters:
initializationScripts
- Initialization scripts for studio components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initializationScripts
CreateStudioComponentRequest.Builder initializationScripts(StudioComponentInitializationScript... initializationScripts) Initialization scripts for studio components.
- Parameters:
initializationScripts
- Initialization scripts for studio components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initializationScripts
CreateStudioComponentRequest.Builder initializationScripts(Consumer<StudioComponentInitializationScript.Builder>... initializationScripts) Initialization scripts for studio components.
This is a convenience method that creates an instance of theStudioComponentInitializationScript.Builder
avoiding the need to create one manually viaStudioComponentInitializationScript.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinitializationScripts(List<StudioComponentInitializationScript>)
.- Parameters:
initializationScripts
- a consumer that will call methods onStudioComponentInitializationScript.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name for the studio component.
- Parameters:
name
- The name for the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeRoleArn
An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.
- Parameters:
runtimeRoleArn
- An IAM role attached to a Studio Component that gives the studio component access to Amazon Web Services resources at anytime while the instance is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptParameters
CreateStudioComponentRequest.Builder scriptParameters(Collection<ScriptParameterKeyValue> scriptParameters) Parameters for the studio component scripts.
- Parameters:
scriptParameters
- Parameters for the studio component scripts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptParameters
Parameters for the studio component scripts.
- Parameters:
scriptParameters
- Parameters for the studio component scripts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptParameters
CreateStudioComponentRequest.Builder scriptParameters(Consumer<ScriptParameterKeyValue.Builder>... scriptParameters) Parameters for the studio component scripts.
This is a convenience method that creates an instance of theScriptParameterKeyValue.Builder
avoiding the need to create one manually viaScriptParameterKeyValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscriptParameters(List<ScriptParameterKeyValue>)
.- Parameters:
scriptParameters
- a consumer that will call methods onScriptParameterKeyValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secureInitializationRoleArn
CreateStudioComponentRequest.Builder secureInitializationRoleArn(String secureInitializationRoleArn) An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.
- Parameters:
secureInitializationRoleArn
- An IAM role attached to Studio Component when the system initialization script runs which give the studio component access to Amazon Web Services resources when the system initialization script runs.- 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.
-
subtype
The specific subtype of a studio component.
- Parameters:
subtype
- The specific subtype of a studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subtype
The specific subtype of a studio component.
- Parameters:
subtype
- The specific subtype of a studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
type
The type of the studio component.
- Parameters:
type
- The type of the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the studio component.
- Parameters:
type
- The type of the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStudioComponentRequest.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
CreateStudioComponentRequest.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.
-