Interface PrivateEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateEndpoint.Builder,,PrivateEndpoint> SdkBuilder<PrivateEndpoint.Builder,,PrivateEndpoint> SdkPojo
- Enclosing class:
PrivateEndpoint
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivateEndpoint.BuildermanagedVpcResource(Consumer<ManagedVpcResource.Builder> managedVpcResource) Configuration for connecting to a private resource using a managed VPC Lattice resource.managedVpcResource(ManagedVpcResource managedVpcResource) Configuration for connecting to a private resource using a managed VPC Lattice resource.default PrivateEndpoint.BuilderselfManagedLatticeResource(Consumer<SelfManagedLatticeResource.Builder> selfManagedLatticeResource) Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.selfManagedLatticeResource(SelfManagedLatticeResource selfManagedLatticeResource) Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.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
-
selfManagedLatticeResource
PrivateEndpoint.Builder selfManagedLatticeResource(SelfManagedLatticeResource selfManagedLatticeResource) Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
- Parameters:
selfManagedLatticeResource- Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfManagedLatticeResource
default PrivateEndpoint.Builder selfManagedLatticeResource(Consumer<SelfManagedLatticeResource.Builder> selfManagedLatticeResource) Configuration for connecting to a private resource using a self-managed VPC Lattice resource configuration.
This is a convenience method that creates an instance of theSelfManagedLatticeResource.Builderavoiding the need to create one manually viaSelfManagedLatticeResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselfManagedLatticeResource(SelfManagedLatticeResource).- Parameters:
selfManagedLatticeResource- a consumer that will call methods onSelfManagedLatticeResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
managedVpcResource
Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
- Parameters:
managedVpcResource- Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedVpcResource
default PrivateEndpoint.Builder managedVpcResource(Consumer<ManagedVpcResource.Builder> managedVpcResource) Configuration for connecting to a private resource using a managed VPC Lattice resource. The gateway creates and manages the VPC Lattice resources on your behalf.
This is a convenience method that creates an instance of theManagedVpcResource.Builderavoiding the need to create one manually viaManagedVpcResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedVpcResource(ManagedVpcResource).- Parameters:
managedVpcResource- a consumer that will call methods onManagedVpcResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-