Class CfnModelInvocationJob.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnModelInvocationJob.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelInvocationJob.VpcConfigProperty>
- Enclosing interface:
CfnModelInvocationJob.VpcConfigProperty
@Stability(Stable)
public static final class CfnModelInvocationJob.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelInvocationJob.VpcConfigProperty>
A builder for
CfnModelInvocationJob.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnModelInvocationJob.VpcConfigProperty.getSecurityGroupIds()Sets the value ofCfnModelInvocationJob.VpcConfigProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnModelInvocationJob.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnModelInvocationJob.VpcConfigProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- An array of IDs for each security group in the VPC to use. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnModelInvocationJob.VpcConfigProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnModelInvocationJob.VpcConfigProperty.getSubnetIds()- Parameters:
subnetIds- An array of IDs for each subnet in the VPC to use. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelInvocationJob.VpcConfigProperty>- Returns:
- a new instance of
CfnModelInvocationJob.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-