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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateClientVpnEndpointResponse.Builder
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.CreateClientVpnEndpointResponse.Builder
dnsName(String dnsName)
The DNS name to be used by clients when establishing their VPN session.default CreateClientVpnEndpointResponse.Builder
status(Consumer<ClientVpnEndpointStatus.Builder> status)
The current state of the Client VPN endpoint.CreateClientVpnEndpointResponse.Builder
status(ClientVpnEndpointStatus status)
The current state of the Client VPN endpoint.-
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
-
clientVpnEndpointId
CreateClientVpnEndpointResponse.Builder clientVpnEndpointId(String 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
CreateClientVpnEndpointResponse.Builder status(ClientVpnEndpointStatus 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.Builder
avoiding the need to create one manually viaClientVpnEndpointStatus.builder()
.When the
Consumer
completes,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:
status(ClientVpnEndpointStatus)
-
dnsName
CreateClientVpnEndpointResponse.Builder dnsName(String 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.
-
-