Class CfnEnvironmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnEnvironmentProps.getDescription()
Sets the value ofCfnEnvironmentProps.getName()
networkFabricType
(String networkFabricType) Sets the value ofCfnEnvironmentProps.getNetworkFabricType()
Sets the value ofCfnEnvironmentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnEnvironmentProps.getName()
- Parameters:
name
- The name of the environment. This parameter is required.- Returns:
this
-
networkFabricType
Sets the value ofCfnEnvironmentProps.getNetworkFabricType()
- Parameters:
networkFabricType
- The network fabric type of the environment. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnEnvironmentProps.getDescription()
- Parameters:
description
- A description of the environment.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentProps.getTags()
- Parameters:
tags
- The tags assigned to the 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
-