Class CfnEnvironmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.refactorspaces.CfnEnvironmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
- Enclosing interface:
CfnEnvironmentMixinProps
@Stability(Stable)
public static final class CfnEnvironmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
A builder for
CfnEnvironmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEnvironmentMixinProps.getDescription()Sets the value ofCfnEnvironmentMixinProps.getName()networkFabricType(String networkFabricType) Sets the value ofCfnEnvironmentMixinProps.getNetworkFabricType()Sets the value ofCfnEnvironmentMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnEnvironmentMixinProps.getDescription()- Parameters:
description- A description of the environment.- Returns:
this
-
name
Sets the value ofCfnEnvironmentMixinProps.getName()- Parameters:
name- The name of the environment.- Returns:
this
-
networkFabricType
@Stability(Stable) public CfnEnvironmentMixinProps.Builder networkFabricType(String networkFabricType) Sets the value ofCfnEnvironmentMixinProps.getNetworkFabricType()- Parameters:
networkFabricType- The network fabric type of the environment.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentMixinProps.getTags()- Parameters:
tags- The tags assigned to the environment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentMixinProps>- Returns:
- a new instance of
CfnEnvironmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-