Class CfnWorkforcePropsMixin.SourceIpConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnWorkforcePropsMixin.SourceIpConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkforcePropsMixin.SourceIpConfigProperty>
- Enclosing interface:
CfnWorkforcePropsMixin.SourceIpConfigProperty
@Stability(Stable)
public static final class CfnWorkforcePropsMixin.SourceIpConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkforcePropsMixin.SourceIpConfigProperty>
A builder for
CfnWorkforcePropsMixin.SourceIpConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkforcePropsMixin.SourceIpConfigProperty.getCidrs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrs
@Stability(Stable) public CfnWorkforcePropsMixin.SourceIpConfigProperty.Builder cidrs(List<String> cidrs) Sets the value ofCfnWorkforcePropsMixin.SourceIpConfigProperty.getCidrs()- Parameters:
cidrs- A list of one to ten Classless Inter-Domain Routing (CIDR) values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkforcePropsMixin.SourceIpConfigProperty>- Returns:
- a new instance of
CfnWorkforcePropsMixin.SourceIpConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-