Class CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty>
- Enclosing interface:
CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty
@Stability(Stable)
public static final class CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.getDomain()privateEndpoint(IResolvable privateEndpoint) privateEndpoint(CfnOAuth2CredentialProvider.PrivateEndpointProperty privateEndpoint)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.Builder domain(String domain) Sets the value ofCfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.getDomain()- Parameters:
domain- The domain to override with a private endpoint. This parameter is required.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.Builder privateEndpoint(IResolvable privateEndpoint) - Parameters:
privateEndpoint- The private endpoint configuration for connecting to private resources in your VPC. This parameter is required.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty.Builder privateEndpoint(CfnOAuth2CredentialProvider.PrivateEndpointProperty privateEndpoint) - Parameters:
privateEndpoint- The private endpoint configuration for connecting to private resources in your VPC. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty>- Returns:
- a new instance of
CfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-