Interface PrivateEndpointOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateEndpointOverride.Builder,,PrivateEndpointOverride> SdkBuilder<PrivateEndpointOverride.Builder,,PrivateEndpointOverride> SdkPojo
- Enclosing class:
PrivateEndpointOverride
@Mutable
@NotThreadSafe
public static interface PrivateEndpointOverride.Builder
extends SdkPojo, CopyableBuilder<PrivateEndpointOverride.Builder,PrivateEndpointOverride>
-
Method Summary
Modifier and TypeMethodDescriptionThe domain to override with a private endpoint.default PrivateEndpointOverride.BuilderprivateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The private endpoint configuration for the specified domain.privateEndpoint(PrivateEndpoint privateEndpoint) The private endpoint configuration for the specified domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domain
The domain to override with a private endpoint.
- Parameters:
domain- The domain to override with a private endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
The private endpoint configuration for the specified domain.
- Parameters:
privateEndpoint- The private endpoint configuration for the specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
default PrivateEndpointOverride.Builder privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The private endpoint configuration for the specified domain.
This is a convenience method that creates an instance of thePrivateEndpoint.Builderavoiding the need to create one manually viaPrivateEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpoint(PrivateEndpoint).- Parameters:
privateEndpoint- a consumer that will call methods onPrivateEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-