Interface DisassociateClientVpnTargetNetworkResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisassociateClientVpnTargetNetworkResponse.Builder,DisassociateClientVpnTargetNetworkResponse>
,Ec2Response.Builder
,SdkBuilder<DisassociateClientVpnTargetNetworkResponse.Builder,DisassociateClientVpnTargetNetworkResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DisassociateClientVpnTargetNetworkResponse
public static interface DisassociateClientVpnTargetNetworkResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateClientVpnTargetNetworkResponse.Builder,DisassociateClientVpnTargetNetworkResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DisassociateClientVpnTargetNetworkResponse.Builder
associationId(String associationId)
The ID of the target network association.default DisassociateClientVpnTargetNetworkResponse.Builder
status(Consumer<AssociationStatus.Builder> status)
The current state of the target network association.DisassociateClientVpnTargetNetworkResponse.Builder
status(AssociationStatus status)
The current state of the target network association.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
associationId
DisassociateClientVpnTargetNetworkResponse.Builder associationId(String associationId)
The ID of the target network association.
- Parameters:
associationId
- The ID of the target network association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DisassociateClientVpnTargetNetworkResponse.Builder status(AssociationStatus status)
The current state of the target network association.
- Parameters:
status
- The current state of the target network association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default DisassociateClientVpnTargetNetworkResponse.Builder status(Consumer<AssociationStatus.Builder> status)
The current state of the target network association.
This is a convenience method that creates an instance of theAssociationStatus.Builder
avoiding the need to create one manually viaAssociationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(AssociationStatus)
.- Parameters:
status
- a consumer that will call methods onAssociationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(AssociationStatus)
-
-