Class CfnRuntime.ManagedVpcResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnRuntime.ManagedVpcResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntime.ManagedVpcResourceProperty>
- Enclosing interface:
CfnRuntime.ManagedVpcResourceProperty
@Stability(Stable)
public static final class CfnRuntime.ManagedVpcResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntime.ManagedVpcResourceProperty>
A builder for
CfnRuntime.ManagedVpcResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointIpAddressType(String endpointIpAddressType) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getEndpointIpAddressType()routingDomain(String routingDomain) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getRoutingDomain()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getSecurityGroupIds()Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getSubnetIds()Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getTags()vpcIdentifier(String vpcIdentifier) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getVpcIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointIpAddressType
@Stability(Stable) public CfnRuntime.ManagedVpcResourceProperty.Builder endpointIpAddressType(String endpointIpAddressType) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getEndpointIpAddressType()- Parameters:
endpointIpAddressType- The IP address type for the endpoint. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnRuntime.ManagedVpcResourceProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getSubnetIds()- Parameters:
subnetIds- The subnet IDs. This parameter is required.- Returns:
this
-
vpcIdentifier
@Stability(Stable) public CfnRuntime.ManagedVpcResourceProperty.Builder vpcIdentifier(String vpcIdentifier) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getVpcIdentifier()- Parameters:
vpcIdentifier- The VPC identifier. This parameter is required.- Returns:
this
-
routingDomain
@Stability(Stable) public CfnRuntime.ManagedVpcResourceProperty.Builder routingDomain(String routingDomain) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getRoutingDomain()- Parameters:
routingDomain- An intermediate domain to use as the resource configuration endpoint instead of the actual target domain.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnRuntime.ManagedVpcResourceProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The security group IDs.- Returns:
this
-
tags
@Stability(Stable) public CfnRuntime.ManagedVpcResourceProperty.Builder tags(Map<String, String> tags) Sets the value ofCfnRuntime.ManagedVpcResourceProperty.getTags()- Parameters:
tags- Tags to apply to the managed VPC Lattice resource gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntime.ManagedVpcResourceProperty>- Returns:
- a new instance of
CfnRuntime.ManagedVpcResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-