Class CfnStudioProps.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnStudioProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioProps>
- Enclosing interface:
CfnStudioProps
@Stability(Stable)
public static final class CfnStudioProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioProps>
A builder for
CfnStudioProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadminRoleArn
(String adminRoleArn) Sets the value ofCfnStudioProps.getAdminRoleArn()
build()
Builds the configured instance.displayName
(String displayName) Sets the value ofCfnStudioProps.getDisplayName()
studioEncryptionConfiguration
(IResolvable studioEncryptionConfiguration) Sets the value ofCfnStudioProps.getStudioEncryptionConfiguration()
studioEncryptionConfiguration
(CfnStudio.StudioEncryptionConfigurationProperty studioEncryptionConfiguration) Sets the value ofCfnStudioProps.getStudioEncryptionConfiguration()
studioName
(String studioName) Sets the value ofCfnStudioProps.getStudioName()
Sets the value ofCfnStudioProps.getTags()
userRoleArn
(String userRoleArn) Sets the value ofCfnStudioProps.getUserRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adminRoleArn
Sets the value ofCfnStudioProps.getAdminRoleArn()
- Parameters:
adminRoleArn
- The IAM role that studio admins assume when logging in to the Nimble Studio portal. This parameter is required.- Returns:
this
-
displayName
Sets the value ofCfnStudioProps.getDisplayName()
- Parameters:
displayName
- A friendly name for the studio. This parameter is required.- Returns:
this
-
studioName
Sets the value ofCfnStudioProps.getStudioName()
- Parameters:
studioName
- The name of the studio, as included in the URL when accessing it in the Nimble Studio portal. This parameter is required.- Returns:
this
-
userRoleArn
Sets the value ofCfnStudioProps.getUserRoleArn()
- Parameters:
userRoleArn
- The IAM role that studio users assume when logging in to the Nimble Studio portal. This parameter is required.- Returns:
this
-
studioEncryptionConfiguration
@Stability(Stable) public CfnStudioProps.Builder studioEncryptionConfiguration(IResolvable studioEncryptionConfiguration) Sets the value ofCfnStudioProps.getStudioEncryptionConfiguration()
- Parameters:
studioEncryptionConfiguration
- Configuration of the encryption method that is used for the studio.- Returns:
this
-
studioEncryptionConfiguration
@Stability(Stable) public CfnStudioProps.Builder studioEncryptionConfiguration(CfnStudio.StudioEncryptionConfigurationProperty studioEncryptionConfiguration) Sets the value ofCfnStudioProps.getStudioEncryptionConfiguration()
- Parameters:
studioEncryptionConfiguration
- Configuration of the encryption method that is used for the studio.- Returns:
this
-
tags
Sets the value ofCfnStudioProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStudioProps>
- Returns:
- a new instance of
CfnStudioProps
- Throws:
NullPointerException
- if any required attribute was not provided
-