Class CfnConnector.ScopeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnConnector.ScopeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.ScopeConfigurationProperty>
- Enclosing interface:
CfnConnector.ScopeConfigurationProperty
@Stability(Stable)
public static final class CfnConnector.ScopeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.ScopeConfigurationProperty>
A builder for
CfnConnector.ScopeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnector.ScopeConfigurationProperty.getScopeType()scopeValues(List<String> scopeValues) Sets the value ofCfnConnector.ScopeConfigurationProperty.getScopeValues()Sets the value ofCfnConnector.ScopeConfigurationProperty.getState()stateReason(String stateReason) Sets the value ofCfnConnector.ScopeConfigurationProperty.getStateReason()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scopeType
@Stability(Stable) public CfnConnector.ScopeConfigurationProperty.Builder scopeType(String scopeType) Sets the value ofCfnConnector.ScopeConfigurationProperty.getScopeType()- Parameters:
scopeType- the value to be set. This parameter is required.- Returns:
this
-
scopeValues
@Stability(Stable) public CfnConnector.ScopeConfigurationProperty.Builder scopeValues(List<String> scopeValues) Sets the value ofCfnConnector.ScopeConfigurationProperty.getScopeValues()- Parameters:
scopeValues- List of subscription IDs. Empty for TENANT scope.- Returns:
this
-
state
Sets the value ofCfnConnector.ScopeConfigurationProperty.getState()- Parameters:
state- the value to be set.- Returns:
this
-
stateReason
@Stability(Stable) public CfnConnector.ScopeConfigurationProperty.Builder stateReason(String stateReason) Sets the value ofCfnConnector.ScopeConfigurationProperty.getStateReason()- Parameters:
stateReason- Reason for the current scope state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector.ScopeConfigurationProperty>- Returns:
- a new instance of
CfnConnector.ScopeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-