Class CfnEnvironmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.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()
domainIdentifier
(String domainIdentifier) Sets the value ofCfnEnvironmentProps.getDomainIdentifier()
environmentAccountIdentifier
(String environmentAccountIdentifier) Sets the value ofCfnEnvironmentProps.getEnvironmentAccountIdentifier()
environmentAccountRegion
(String environmentAccountRegion) Sets the value ofCfnEnvironmentProps.getEnvironmentAccountRegion()
environmentProfileIdentifier
(String environmentProfileIdentifier) Sets the value ofCfnEnvironmentProps.getEnvironmentProfileIdentifier()
environmentRoleArn
(String environmentRoleArn) Sets the value ofCfnEnvironmentProps.getEnvironmentRoleArn()
glossaryTerms
(List<String> glossaryTerms) Sets the value ofCfnEnvironmentProps.getGlossaryTerms()
Sets the value ofCfnEnvironmentProps.getName()
projectIdentifier
(String projectIdentifier) Sets the value ofCfnEnvironmentProps.getProjectIdentifier()
userParameters
(List<? extends Object> userParameters) Sets the value ofCfnEnvironmentProps.getUserParameters()
userParameters
(IResolvable userParameters) Sets the value ofCfnEnvironmentProps.getUserParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
Sets the value ofCfnEnvironmentProps.getDomainIdentifier()
- Parameters:
domainIdentifier
- The identifier of the Amazon DataZone domain in which the environment is created. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnEnvironmentProps.getName()
- Parameters:
name
- The name of the Amazon DataZone environment. This parameter is required.- Returns:
this
-
projectIdentifier
Sets the value ofCfnEnvironmentProps.getProjectIdentifier()
- Parameters:
projectIdentifier
- The identifier of the Amazon DataZone project in which this environment is created. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnEnvironmentProps.getDescription()
- Parameters:
description
- The description of the environment.- Returns:
this
-
environmentAccountIdentifier
@Stability(Stable) public CfnEnvironmentProps.Builder environmentAccountIdentifier(String environmentAccountIdentifier) Sets the value ofCfnEnvironmentProps.getEnvironmentAccountIdentifier()
- Parameters:
environmentAccountIdentifier
- The identifier of the AWS account in which an environment exists.- Returns:
this
-
environmentAccountRegion
@Stability(Stable) public CfnEnvironmentProps.Builder environmentAccountRegion(String environmentAccountRegion) Sets the value ofCfnEnvironmentProps.getEnvironmentAccountRegion()
- Parameters:
environmentAccountRegion
- The AWS Region in which an environment exists.- Returns:
this
-
environmentProfileIdentifier
@Stability(Stable) public CfnEnvironmentProps.Builder environmentProfileIdentifier(String environmentProfileIdentifier) Sets the value ofCfnEnvironmentProps.getEnvironmentProfileIdentifier()
- Parameters:
environmentProfileIdentifier
- The identifier of the environment profile that is used to create this Amazon DataZone environment.- Returns:
this
-
environmentRoleArn
Sets the value ofCfnEnvironmentProps.getEnvironmentRoleArn()
- Parameters:
environmentRoleArn
- The ARN of the environment role.- Returns:
this
-
glossaryTerms
Sets the value ofCfnEnvironmentProps.getGlossaryTerms()
- Parameters:
glossaryTerms
- The glossary terms that can be used in this Amazon DataZone environment.- Returns:
this
-
userParameters
Sets the value ofCfnEnvironmentProps.getUserParameters()
- Parameters:
userParameters
- The user parameters of this Amazon DataZone environment.- Returns:
this
-
userParameters
@Stability(Stable) public CfnEnvironmentProps.Builder userParameters(List<? extends Object> userParameters) Sets the value ofCfnEnvironmentProps.getUserParameters()
- Parameters:
userParameters
- The user parameters of this Amazon DataZone environment.- 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
-