Class CfnRuntime.PrivateEndpointOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnRuntime.PrivateEndpointOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntime.PrivateEndpointOverrideProperty>
- Enclosing interface:
CfnRuntime.PrivateEndpointOverrideProperty
@Stability(Stable)
public static final class CfnRuntime.PrivateEndpointOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntime.PrivateEndpointOverrideProperty>
A builder for
CfnRuntime.PrivateEndpointOverrideProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuntime.PrivateEndpointOverrideProperty.getDomain()privateEndpoint(IResolvable privateEndpoint) Sets the value ofCfnRuntime.PrivateEndpointOverrideProperty.getPrivateEndpoint()privateEndpoint(CfnRuntime.PrivateEndpointProperty privateEndpoint) Sets the value ofCfnRuntime.PrivateEndpointOverrideProperty.getPrivateEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
Sets the value ofCfnRuntime.PrivateEndpointOverrideProperty.getDomain()- Parameters:
domain- The domain to override. This parameter is required.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnRuntime.PrivateEndpointOverrideProperty.Builder privateEndpoint(IResolvable privateEndpoint) Sets the value ofCfnRuntime.PrivateEndpointOverrideProperty.getPrivateEndpoint()- Parameters:
privateEndpoint- Private endpoint configuration. This parameter is required. Exactly one of SelfManagedLatticeResource or ManagedVpcResource must be specified.- Returns:
this
-
privateEndpoint
@Stability(Stable) public CfnRuntime.PrivateEndpointOverrideProperty.Builder privateEndpoint(CfnRuntime.PrivateEndpointProperty privateEndpoint) Sets the value ofCfnRuntime.PrivateEndpointOverrideProperty.getPrivateEndpoint()- Parameters:
privateEndpoint- Private endpoint configuration. This parameter is required. Exactly one of SelfManagedLatticeResource or ManagedVpcResource must be specified.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntime.PrivateEndpointOverrideProperty>- Returns:
- a new instance of
CfnRuntime.PrivateEndpointOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-