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
Modifier and TypeMethodDescriptionassociationId(String associationId) The ID of the target network association.status(Consumer<AssociationStatus.Builder> status) The current state of the target network association.status(AssociationStatus status) The current state of the target network association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaAssociationStatus.builder().When the
Consumercompletes,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:
-