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