Interface PrivateConnectionMode.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateConnectionMode.Builder,,PrivateConnectionMode> SdkBuilder<PrivateConnectionMode.Builder,,PrivateConnectionMode> SdkPojo
- Enclosing class:
PrivateConnectionMode
@Mutable
@NotThreadSafe
public static interface PrivateConnectionMode.Builder
extends SdkPojo, CopyableBuilder<PrivateConnectionMode.Builder,PrivateConnectionMode>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivateConnectionMode.BuilderselfManaged(Consumer<SelfManagedInput.Builder> selfManaged) The configuration for a self-managed private connection, where you manage your own resource configuration.selfManaged(SelfManagedInput selfManaged) The configuration for a self-managed private connection, where you manage your own resource configuration.default PrivateConnectionMode.BuilderserviceManaged(Consumer<ServiceManagedInput.Builder> serviceManaged) The configuration for a service-managed private connection, where the service manages the resource gateway lifecycle.serviceManaged(ServiceManagedInput serviceManaged) The configuration for a service-managed private connection, where the service manages the resource gateway lifecycle.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
-
serviceManaged
The configuration for a service-managed private connection, where the service manages the resource gateway lifecycle.
- Parameters:
serviceManaged- The configuration for a service-managed private connection, where the service manages the resource gateway lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceManaged
default PrivateConnectionMode.Builder serviceManaged(Consumer<ServiceManagedInput.Builder> serviceManaged) The configuration for a service-managed private connection, where the service manages the resource gateway lifecycle.
This is a convenience method that creates an instance of theServiceManagedInput.Builderavoiding the need to create one manually viaServiceManagedInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceManaged(ServiceManagedInput).- Parameters:
serviceManaged- a consumer that will call methods onServiceManagedInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selfManaged
The configuration for a self-managed private connection, where you manage your own resource configuration.
- Parameters:
selfManaged- The configuration for a self-managed private connection, where you manage your own resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfManaged
The configuration for a self-managed private connection, where you manage your own resource configuration.
This is a convenience method that creates an instance of theSelfManagedInput.Builderavoiding the need to create one manually viaSelfManagedInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselfManaged(SelfManagedInput).- Parameters:
selfManaged- a consumer that will call methods onSelfManagedInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-