Interface StudioComponent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StudioComponent.Builder,
,StudioComponent> SdkBuilder<StudioComponent.Builder,
,StudioComponent> SdkPojo
- Enclosing class:
StudioComponent
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it.default StudioComponent.Builder
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.The ISO timestamp in seconds for when the resource was created.The user ID of the user that created the studio component.description
(String description) A human-readable description for the studio component resource.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.A friendly name for the studio component resource.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 current state.state
(StudioComponentState state) The current state.statusCode
(String statusCodeValue) The status code.statusCode
(StudioComponentStatusCode statusCodeValue) The status code.statusMessage
(String statusMessage) The status message for the studio component.studioComponentId
(String studioComponentId) The unique identifier for a studio component resource.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.The ISO timestamp in seconds for when the resource was updated.The user ID of the user that most recently updated the resource.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.
-
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 StudioComponent.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:
-
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 studio component.
- Parameters:
createdBy
- The user ID of the user that created the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description for the studio component resource.
- Parameters:
description
- A human-readable description for the studio component resource.- 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
StudioComponent.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
StudioComponent.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
StudioComponent.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
A friendly name for the studio component resource.
- Parameters:
name
- A friendly name for the studio component resource.- 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
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
StudioComponent.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
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.
-
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 studio component.
- Parameters:
statusMessage
- The status message for the studio component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
studioComponentId
The unique identifier for a studio component resource.
- Parameters:
studioComponentId
- The unique identifier for a studio component resource.- 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:
-
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.
-