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