Interface AssociateClientVpnTargetNetworkResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<AssociateClientVpnTargetNetworkResponse.Builder,,AssociateClientVpnTargetNetworkResponse> Ec2Response.Builder,SdkBuilder<AssociateClientVpnTargetNetworkResponse.Builder,,AssociateClientVpnTargetNetworkResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 AssociateClientVpnTargetNetworkResponse
public static interface AssociateClientVpnTargetNetworkResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateClientVpnTargetNetworkResponse.Builder,AssociateClientVpnTargetNetworkResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionassociationId(String associationId) The unique 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 unique ID of the target network association.
- Parameters:
 associationId- The unique 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 AssociateClientVpnTargetNetworkResponse.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:
 
 
 -