Class CfnHarness.ManagedVpcResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.ManagedVpcResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.ManagedVpcResourceProperty>
- Enclosing interface:
CfnHarness.ManagedVpcResourceProperty
@Stability(Stable)
public static final class CfnHarness.ManagedVpcResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.ManagedVpcResourceProperty>
A builder for
CfnHarness.ManagedVpcResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointIpAddressType(String endpointIpAddressType) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getEndpointIpAddressType()routingDomain(String routingDomain) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getRoutingDomain()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getSecurityGroupIds()Sets the value ofCfnHarness.ManagedVpcResourceProperty.getSubnetIds()Sets the value ofCfnHarness.ManagedVpcResourceProperty.getTags()vpcIdentifier(String vpcIdentifier) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getVpcIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointIpAddressType
@Stability(Stable) public CfnHarness.ManagedVpcResourceProperty.Builder endpointIpAddressType(String endpointIpAddressType) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getEndpointIpAddressType()- Parameters:
endpointIpAddressType- the value to be set. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnHarness.ManagedVpcResourceProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getSubnetIds()- Parameters:
subnetIds- the value to be set. This parameter is required.- Returns:
this
-
vpcIdentifier
@Stability(Stable) public CfnHarness.ManagedVpcResourceProperty.Builder vpcIdentifier(String vpcIdentifier) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getVpcIdentifier()- Parameters:
vpcIdentifier- the value to be set. This parameter is required.- Returns:
this
-
routingDomain
@Stability(Stable) public CfnHarness.ManagedVpcResourceProperty.Builder routingDomain(String routingDomain) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getRoutingDomain()- Parameters:
routingDomain- the value to be set.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnHarness.ManagedVpcResourceProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnHarness.ManagedVpcResourceProperty.Builder tags(Map<String, String> tags) Sets the value ofCfnHarness.ManagedVpcResourceProperty.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.ManagedVpcResourceProperty>- Returns:
- a new instance of
CfnHarness.ManagedVpcResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-