Interface PrivateEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateEndpoint.Builder,,PrivateEndpoint> SdkBuilder<PrivateEndpoint.Builder,,PrivateEndpoint> SdkPojo
- Enclosing class:
PrivateEndpoint
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivateEndpoint.BuildermanagedLatticeResource(Consumer<ManagedLatticeResource.Builder> managedLatticeResource) Configuration for connecting to a private resource using a managed VPC Lattice resource.managedLatticeResource(ManagedLatticeResource managedLatticeResource) 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:
-
managedLatticeResource
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:
managedLatticeResource- 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.
-
managedLatticeResource
default PrivateEndpoint.Builder managedLatticeResource(Consumer<ManagedLatticeResource.Builder> managedLatticeResource) 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 theManagedLatticeResource.Builderavoiding the need to create one manually viaManagedLatticeResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedLatticeResource(ManagedLatticeResource).- Parameters:
managedLatticeResource- a consumer that will call methods onManagedLatticeResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-