Class CfnHarness.PrivateEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.PrivateEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.PrivateEndpointProperty>
- Enclosing interface:
CfnHarness.PrivateEndpointProperty
@Stability(Stable)
public static final class CfnHarness.PrivateEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.PrivateEndpointProperty>
A builder for
CfnHarness.PrivateEndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.managedVpcResource(IResolvable managedVpcResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getManagedVpcResource()managedVpcResource(CfnHarness.ManagedVpcResourceProperty managedVpcResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getManagedVpcResource()selfManagedLatticeResource(IResolvable selfManagedLatticeResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getSelfManagedLatticeResource()selfManagedLatticeResource(CfnHarness.SelfManagedLatticeResourceProperty selfManagedLatticeResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getSelfManagedLatticeResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
managedVpcResource
@Stability(Stable) public CfnHarness.PrivateEndpointProperty.Builder managedVpcResource(IResolvable managedVpcResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getManagedVpcResource()- Parameters:
managedVpcResource- Configuration for a service-managed VPC endpoint.- Returns:
this
-
managedVpcResource
@Stability(Stable) public CfnHarness.PrivateEndpointProperty.Builder managedVpcResource(CfnHarness.ManagedVpcResourceProperty managedVpcResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getManagedVpcResource()- Parameters:
managedVpcResource- Configuration for a service-managed VPC endpoint.- Returns:
this
-
selfManagedLatticeResource
@Stability(Stable) public CfnHarness.PrivateEndpointProperty.Builder selfManagedLatticeResource(IResolvable selfManagedLatticeResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getSelfManagedLatticeResource()- Parameters:
selfManagedLatticeResource- Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.- Returns:
this
-
selfManagedLatticeResource
@Stability(Stable) public CfnHarness.PrivateEndpointProperty.Builder selfManagedLatticeResource(CfnHarness.SelfManagedLatticeResourceProperty selfManagedLatticeResource) Sets the value ofCfnHarness.PrivateEndpointProperty.getSelfManagedLatticeResource()- Parameters:
selfManagedLatticeResource- Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.PrivateEndpointProperty>- Returns:
- a new instance of
CfnHarness.PrivateEndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-