Class CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.ManagedVpcResourceProperty>
- Enclosing interface:
CfnOAuth2CredentialProvider.ManagedVpcResourceProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.ManagedVpcResourceProperty>
A builder for
CfnOAuth2CredentialProvider.ManagedVpcResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointIpAddressType(String endpointIpAddressType) routingDomain(String routingDomain) securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnOAuth2CredentialProvider.ManagedVpcResourceProperty.getSubnetIds()Sets the value ofCfnOAuth2CredentialProvider.ManagedVpcResourceProperty.getTags()vpcIdentifier(String vpcIdentifier)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointIpAddressType
@Stability(Stable) public CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder endpointIpAddressType(String endpointIpAddressType) - Parameters:
endpointIpAddressType- The IP address type for the resource configuration endpoint. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnOAuth2CredentialProvider.ManagedVpcResourceProperty.getSubnetIds()- Parameters:
subnetIds- The subnet IDs within the VPC where the VPC Lattice resource gateway is placed. This parameter is required.- Returns:
this
-
vpcIdentifier
@Stability(Stable) public CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder vpcIdentifier(String vpcIdentifier) - Parameters:
vpcIdentifier- The ID of the VPC that contains your private resource. This parameter is required.- Returns:
this
-
routingDomain
@Stability(Stable) public CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder routingDomain(String routingDomain) - Parameters:
routingDomain- An intermediate publicly resolvable domain used as the VPC Lattice resource configuration endpoint.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder securityGroupIds(List<String> securityGroupIds) - Parameters:
securityGroupIds- The security group IDs to associate with the VPC Lattice resource gateway.- Returns:
this
-
tags
@Stability(Stable) public CfnOAuth2CredentialProvider.ManagedVpcResourceProperty.Builder tags(Map<String, String> tags) Sets the value ofCfnOAuth2CredentialProvider.ManagedVpcResourceProperty.getTags()- Parameters:
tags- A map of tags (key-value pairs) to apply to a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProvider.ManagedVpcResourceProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProvider.ManagedVpcResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-