Class CfnConnector.AzureScopeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConnector.AzureScopeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector.AzureScopeConfigurationProperty>
- Enclosing interface:
CfnConnector.AzureScopeConfigurationProperty
@Stability(Stable)
public static final class CfnConnector.AzureScopeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector.AzureScopeConfigurationProperty>
A builder for
CfnConnector.AzureScopeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnector.AzureScopeConfigurationProperty.getScopeType()scopeValues(List<String> scopeValues) Sets the value ofCfnConnector.AzureScopeConfigurationProperty.getScopeValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scopeType
@Stability(Stable) public CfnConnector.AzureScopeConfigurationProperty.Builder scopeType(String scopeType) Sets the value ofCfnConnector.AzureScopeConfigurationProperty.getScopeType()- Parameters:
scopeType- The type of scope. This parameter is required. Valid values aretenantandsubscription.- Returns:
this
-
scopeValues
@Stability(Stable) public CfnConnector.AzureScopeConfigurationProperty.Builder scopeValues(List<String> scopeValues) Sets the value ofCfnConnector.AzureScopeConfigurationProperty.getScopeValues()- Parameters:
scopeValues- The list of scope values, such as subscription IDs, when the scope type issubscription.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector.AzureScopeConfigurationProperty>- Returns:
- a new instance of
CfnConnector.AzureScopeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-