Class CfnEnvironmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.finspace.CfnEnvironmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentProps>
- Enclosing interface:
CfnEnvironmentProps
@Stability(Stable)
public static final class CfnEnvironmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentProps>
A builder for
CfnEnvironmentProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnEnvironmentProps.getDescription()
federationMode
(String federationMode) Sets the value ofCfnEnvironmentProps.getFederationMode()
federationParameters
(IResolvable federationParameters) Sets the value ofCfnEnvironmentProps.getFederationParameters()
federationParameters
(CfnEnvironment.FederationParametersProperty federationParameters) Sets the value ofCfnEnvironmentProps.getFederationParameters()
Sets the value ofCfnEnvironmentProps.getKmsKeyId()
Sets the value ofCfnEnvironmentProps.getName()
superuserParameters
(IResolvable superuserParameters) Sets the value ofCfnEnvironmentProps.getSuperuserParameters()
superuserParameters
(CfnEnvironment.SuperuserParametersProperty superuserParameters) Sets the value ofCfnEnvironmentProps.getSuperuserParameters()
Sets the value ofCfnEnvironmentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnEnvironmentProps.getName()
- Parameters:
name
- The name of the FinSpace environment. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnEnvironmentProps.getDescription()
- Parameters:
description
- The description of the FinSpace environment.- Returns:
this
-
federationMode
Sets the value ofCfnEnvironmentProps.getFederationMode()
- Parameters:
federationMode
- The authentication mode for the environment.- Returns:
this
-
federationParameters
@Stability(Stable) public CfnEnvironmentProps.Builder federationParameters(CfnEnvironment.FederationParametersProperty federationParameters) Sets the value ofCfnEnvironmentProps.getFederationParameters()
- Parameters:
federationParameters
- Configuration information when authentication mode is FEDERATED.- Returns:
this
-
federationParameters
@Stability(Stable) public CfnEnvironmentProps.Builder federationParameters(IResolvable federationParameters) Sets the value ofCfnEnvironmentProps.getFederationParameters()
- Parameters:
federationParameters
- Configuration information when authentication mode is FEDERATED.- Returns:
this
-
kmsKeyId
Sets the value ofCfnEnvironmentProps.getKmsKeyId()
- Parameters:
kmsKeyId
- The KMS key id used to encrypt in the FinSpace environment.- Returns:
this
-
superuserParameters
@Stability(Stable) public CfnEnvironmentProps.Builder superuserParameters(IResolvable superuserParameters) Sets the value ofCfnEnvironmentProps.getSuperuserParameters()
- Parameters:
superuserParameters
- Configuration information for the superuser.- Returns:
this
-
superuserParameters
@Stability(Stable) public CfnEnvironmentProps.Builder superuserParameters(CfnEnvironment.SuperuserParametersProperty superuserParameters) Sets the value ofCfnEnvironmentProps.getSuperuserParameters()
- Parameters:
superuserParameters
- Configuration information for the superuser.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentProps.getTags()
- Parameters:
tags
-AWS::FinSpace::Environment.Tags
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironmentProps>
- Returns:
- a new instance of
CfnEnvironmentProps
- Throws:
NullPointerException
- if any required attribute was not provided
-