Interface CreateClientVpnEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateClientVpnEndpointResponse.Builder,,CreateClientVpnEndpointResponse> Ec2Response.Builder,SdkBuilder<CreateClientVpnEndpointResponse.Builder,,CreateClientVpnEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateClientVpnEndpointResponse
public static interface CreateClientVpnEndpointResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateClientVpnEndpointResponse.Builder,CreateClientVpnEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint.The DNS name to be used by clients when establishing their VPN session.The current state of the Client VPN endpoint.status(ClientVpnEndpointStatus status) The current state of the Client VPN endpoint.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
-
clientVpnEndpointId
The ID of the Client VPN endpoint.
- Parameters:
clientVpnEndpointId- The ID of the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the Client VPN endpoint.
- Parameters:
status- The current state of the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default CreateClientVpnEndpointResponse.Builder status(Consumer<ClientVpnEndpointStatus.Builder> status) The current state of the Client VPN endpoint.
This is a convenience method that creates an instance of theClientVpnEndpointStatus.Builderavoiding the need to create one manually viaClientVpnEndpointStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ClientVpnEndpointStatus).- Parameters:
status- a consumer that will call methods onClientVpnEndpointStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsName
The DNS name to be used by clients when establishing their VPN session.
- Parameters:
dnsName- The DNS name to be used by clients when establishing their VPN session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-