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