Class CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateEndpointProperty>
- Enclosing interface:
CfnOAuth2CredentialProvider.PrivateEndpointProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateEndpointProperty>
A builder for
CfnOAuth2CredentialProvider.PrivateEndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.managedVpcResource(IResolvable managedVpcResource) managedVpcResource(CfnOAuth2CredentialProvider.ManagedVpcResourceProperty managedVpcResource) selfManagedLatticeResource(IResolvable selfManagedLatticeResource) selfManagedLatticeResource(CfnOAuth2CredentialProvider.SelfManagedLatticeResourceProperty selfManagedLatticeResource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
managedVpcResource
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder managedVpcResource(IResolvable managedVpcResource) - Parameters:
managedVpcResource- Configuration for a managed VPC Lattice resource. AgentCore creates and manages the VPC Lattice resource gateway and resource configuration on your behalf.- Returns:
this
-
managedVpcResource
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder managedVpcResource(CfnOAuth2CredentialProvider.ManagedVpcResourceProperty managedVpcResource) - Parameters:
managedVpcResource- Configuration for a managed VPC Lattice resource. AgentCore creates and manages the VPC Lattice resource gateway and resource configuration on your behalf.- Returns:
this
-
selfManagedLatticeResource
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder selfManagedLatticeResource(IResolvable selfManagedLatticeResource) Sets the value ofCfnOAuth2CredentialProvider.PrivateEndpointProperty.getSelfManagedLatticeResource()- Parameters:
selfManagedLatticeResource- Configuration for a self-managed VPC Lattice resource. You create and manage the VPC Lattice resource gateway and resource configuration, then provide the resource configuration identifier.- Returns:
this
-
selfManagedLatticeResource
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointProperty.Builder selfManagedLatticeResource(CfnOAuth2CredentialProvider.SelfManagedLatticeResourceProperty selfManagedLatticeResource) Sets the value ofCfnOAuth2CredentialProvider.PrivateEndpointProperty.getSelfManagedLatticeResource()- Parameters:
selfManagedLatticeResource- Configuration for a self-managed VPC Lattice resource. You create and manage the VPC Lattice resource gateway and resource configuration, then provide the resource configuration identifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateEndpointProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProvider.PrivateEndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-