Interface CreateStudioComponentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStudioComponentRequest.Builder,CreateStudioComponentRequest>,NimbleRequest.Builder,SdkBuilder<CreateStudioComponentRequest.Builder,CreateStudioComponentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateStudioComponentRequest
public static interface CreateStudioComponentRequest.Builder extends NimbleRequest.Builder, SdkPojo, CopyableBuilder<CreateStudioComponentRequest.Builder,CreateStudioComponentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateStudioComponentRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateStudioComponentRequest.Builderconfiguration(Consumer<StudioComponentConfiguration.Builder> configuration)The configuration of the studio component, based on component type.CreateStudioComponentRequest.Builderconfiguration(StudioComponentConfiguration configuration)The configuration of the studio component, based on component type.CreateStudioComponentRequest.Builderdescription(String description)The description.CreateStudioComponentRequest.Builderec2SecurityGroupIds(String... ec2SecurityGroupIds)The EC2 security groups that control access to the studio component.CreateStudioComponentRequest.Builderec2SecurityGroupIds(Collection<String> ec2SecurityGroupIds)The EC2 security groups that control access to the studio component.CreateStudioComponentRequest.BuilderinitializationScripts(Collection<StudioComponentInitializationScript> initializationScripts)Initialization scripts for studio components.CreateStudioComponentRequest.BuilderinitializationScripts(Consumer<StudioComponentInitializationScript.Builder>... initializationScripts)Initialization scripts for studio components.CreateStudioComponentRequest.BuilderinitializationScripts(StudioComponentInitializationScript... initializationScripts)Initialization scripts for studio components.CreateStudioComponentRequest.Buildername(String name)The name for the studio component.CreateStudioComponentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateStudioComponentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateStudioComponentRequest.BuilderruntimeRoleArn(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.CreateStudioComponentRequest.BuilderscriptParameters(Collection<ScriptParameterKeyValue> scriptParameters)Parameters for the studio component scripts.CreateStudioComponentRequest.BuilderscriptParameters(Consumer<ScriptParameterKeyValue.Builder>... scriptParameters)Parameters for the studio component scripts.CreateStudioComponentRequest.BuilderscriptParameters(ScriptParameterKeyValue... scriptParameters)Parameters for the studio component scripts.CreateStudioComponentRequest.BuildersecureInitializationRoleArn(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.CreateStudioComponentRequest.BuilderstudioId(String studioId)The studio ID.CreateStudioComponentRequest.Buildersubtype(String subtype)The specific subtype of a studio component.CreateStudioComponentRequest.Buildersubtype(StudioComponentSubtype subtype)The specific subtype of a studio component.CreateStudioComponentRequest.Buildertags(Map<String,String> tags)A collection of labels, in the form of key-value pairs, that apply to this resource.CreateStudioComponentRequest.Buildertype(String type)The type of the studio component.CreateStudioComponentRequest.Buildertype(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 Detail
-
clientToken
CreateStudioComponentRequest.Builder clientToken(String 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
CreateStudioComponentRequest.Builder configuration(StudioComponentConfiguration 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.Builderavoiding the need to create one manually viaStudioComponentConfiguration.builder().When the
Consumercompletes,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:
configuration(StudioComponentConfiguration)
-
description
CreateStudioComponentRequest.Builder description(String description)
The description.
- Parameters:
description- The description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupIds
CreateStudioComponentRequest.Builder ec2SecurityGroupIds(Collection<String> 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
CreateStudioComponentRequest.Builder ec2SecurityGroupIds(String... 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.Builderavoiding the need to create one manually viaStudioComponentInitializationScript.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#initializationScripts(List.) - 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:
#initializationScripts(java.util.Collection)
-
name
CreateStudioComponentRequest.Builder name(String 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
CreateStudioComponentRequest.Builder 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.
- 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
CreateStudioComponentRequest.Builder scriptParameters(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
CreateStudioComponentRequest.Builder scriptParameters(Consumer<ScriptParameterKeyValue.Builder>... scriptParameters)
Parameters for the studio component scripts.
This is a convenience method that creates an instance of theScriptParameterKeyValue.Builderavoiding the need to create one manually viaScriptParameterKeyValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scriptParameters(List.) - 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:
#scriptParameters(java.util.Collection)
-
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
CreateStudioComponentRequest.Builder studioId(String 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
CreateStudioComponentRequest.Builder subtype(String 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:
StudioComponentSubtype,StudioComponentSubtype
-
subtype
CreateStudioComponentRequest.Builder subtype(StudioComponentSubtype 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:
StudioComponentSubtype,StudioComponentSubtype
-
tags
CreateStudioComponentRequest.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.
-
type
CreateStudioComponentRequest.Builder type(String 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:
StudioComponentType,StudioComponentType
-
type
CreateStudioComponentRequest.Builder type(StudioComponentType 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:
StudioComponentType,StudioComponentType
-
overrideConfiguration
CreateStudioComponentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStudioComponentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-