Interface TerminateConnectionStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TerminateConnectionStatus.Builder,,TerminateConnectionStatus> SdkBuilder<TerminateConnectionStatus.Builder,,TerminateConnectionStatus> SdkPojo
- Enclosing class:
TerminateConnectionStatus
public static interface TerminateConnectionStatus.Builder
extends SdkPojo, CopyableBuilder<TerminateConnectionStatus.Builder,TerminateConnectionStatus>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId(String connectionId) The ID of the client connection.currentStatus(Consumer<ClientVpnConnectionStatus.Builder> currentStatus) A message about the status of the client connection, if applicable.currentStatus(ClientVpnConnectionStatus currentStatus) A message about the status of the client connection, if applicable.previousStatus(Consumer<ClientVpnConnectionStatus.Builder> previousStatus) The state of the client connection.previousStatus(ClientVpnConnectionStatus previousStatus) The state of the client connection.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, sdkFields
-
Method Details
-
connectionId
The ID of the client connection.
- Parameters:
connectionId- The ID of the client connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previousStatus
The state of the client connection.
- Parameters:
previousStatus- The state of the client connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previousStatus
default TerminateConnectionStatus.Builder previousStatus(Consumer<ClientVpnConnectionStatus.Builder> previousStatus) The state of the client connection.
This is a convenience method that creates an instance of theClientVpnConnectionStatus.Builderavoiding the need to create one manually viaClientVpnConnectionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreviousStatus(ClientVpnConnectionStatus).- Parameters:
previousStatus- a consumer that will call methods onClientVpnConnectionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentStatus
A message about the status of the client connection, if applicable.
- Parameters:
currentStatus- A message about the status of the client connection, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentStatus
default TerminateConnectionStatus.Builder currentStatus(Consumer<ClientVpnConnectionStatus.Builder> currentStatus) A message about the status of the client connection, if applicable.
This is a convenience method that creates an instance of theClientVpnConnectionStatus.Builderavoiding the need to create one manually viaClientVpnConnectionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentStatus(ClientVpnConnectionStatus).- Parameters:
currentStatus- a consumer that will call methods onClientVpnConnectionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-