Class CfnScopeMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networksecuritymanager.CfnScopeMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScopeMixinProps>
- Enclosing interface:
CfnScopeMixinProps
@Stability(Stable)
public static final class CfnScopeMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScopeMixinProps>
A builder for
CfnScopeMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scopeConfiguration(String scopeConfiguration) Sets the value ofCfnScopeMixinProps.getScopeConfiguration()scopeDescription(String scopeDescription) Sets the value ofCfnScopeMixinProps.getScopeDescription()Sets the value ofCfnScopeMixinProps.getScopeName()Sets the value ofCfnScopeMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scopeConfiguration
Sets the value ofCfnScopeMixinProps.getScopeConfiguration()- Parameters:
scopeConfiguration- The scope configuration as a JSON string.- Returns:
this
-
scopeDescription
Sets the value ofCfnScopeMixinProps.getScopeDescription()- Parameters:
scopeDescription- A description of the scope.- Returns:
this
-
scopeName
Sets the value ofCfnScopeMixinProps.getScopeName()- Parameters:
scopeName- The name of the scope.- Returns:
this
-
tags
Sets the value ofCfnScopeMixinProps.getTags()- Parameters:
tags- The tags associated with the scope.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScopeMixinProps>- Returns:
- a new instance of
CfnScopeMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-