@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClientVpnEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateClientVpnEndpointRequest>
NOOP
Constructor and Description |
---|
CreateClientVpnEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClientVpnEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ClientVpnAuthenticationRequest> |
getAuthenticationOptions()
Information about the authentication method to be used to authenticate clients.
|
String |
getClientCidrBlock()
The IPv4 address range, in CIDR notation, from which to assign client IP addresses.
|
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
ConnectionLogOptions |
getConnectionLogOptions()
Information about the client connection logging options.
|
String |
getDescription()
A brief description of the Client VPN endpoint.
|
List<String> |
getDnsServers()
Information about the DNS servers to be used for DNS resolution.
|
Request<CreateClientVpnEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getServerCertificateArn()
The ARN of the server certificate.
|
Boolean |
getSplitTunnel()
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the Client VPN endpoint during creation.
|
String |
getTransportProtocol()
The transport protocol to be used by the VPN session.
|
int |
hashCode() |
Boolean |
isSplitTunnel()
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
|
void |
setAuthenticationOptions(Collection<ClientVpnAuthenticationRequest> authenticationOptions)
Information about the authentication method to be used to authenticate clients.
|
void |
setClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which to assign client IP addresses.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setConnectionLogOptions(ConnectionLogOptions connectionLogOptions)
Information about the client connection logging options.
|
void |
setDescription(String description)
A brief description of the Client VPN endpoint.
|
void |
setDnsServers(Collection<String> dnsServers)
Information about the DNS servers to be used for DNS resolution.
|
void |
setServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate.
|
void |
setSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
|
void |
setTransportProtocol(String transportProtocol)
The transport protocol to be used by the VPN session.
|
String |
toString()
Returns a string representation of this object.
|
CreateClientVpnEndpointRequest |
withAuthenticationOptions(ClientVpnAuthenticationRequest... authenticationOptions)
Information about the authentication method to be used to authenticate clients.
|
CreateClientVpnEndpointRequest |
withAuthenticationOptions(Collection<ClientVpnAuthenticationRequest> authenticationOptions)
Information about the authentication method to be used to authenticate clients.
|
CreateClientVpnEndpointRequest |
withClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which to assign client IP addresses.
|
CreateClientVpnEndpointRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateClientVpnEndpointRequest |
withConnectionLogOptions(ConnectionLogOptions connectionLogOptions)
Information about the client connection logging options.
|
CreateClientVpnEndpointRequest |
withDescription(String description)
A brief description of the Client VPN endpoint.
|
CreateClientVpnEndpointRequest |
withDnsServers(Collection<String> dnsServers)
Information about the DNS servers to be used for DNS resolution.
|
CreateClientVpnEndpointRequest |
withDnsServers(String... dnsServers)
Information about the DNS servers to be used for DNS resolution.
|
CreateClientVpnEndpointRequest |
withServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate.
|
CreateClientVpnEndpointRequest |
withSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
|
CreateClientVpnEndpointRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
|
CreateClientVpnEndpointRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
|
CreateClientVpnEndpointRequest |
withTransportProtocol(String transportProtocol)
The transport protocol to be used by the VPN session.
|
CreateClientVpnEndpointRequest |
withTransportProtocol(TransportProtocol transportProtocol)
The transport protocol to be used by the VPN session.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
clientCidrBlock
- The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range
cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes
that you add manually. The address range cannot be changed after the Client VPN endpoint has been created.
The CIDR block should be /22 or greater.public String getClientCidrBlock()
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
public CreateClientVpnEndpointRequest withClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.
clientCidrBlock
- The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range
cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes
that you add manually. The address range cannot be changed after the Client VPN endpoint has been created.
The CIDR block should be /22 or greater.public void setServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate. For more information, see the AWS Certificate Manager User Guide.
serverCertificateArn
- The ARN of the server certificate. For more information, see the AWS Certificate Manager User Guide.public String getServerCertificateArn()
The ARN of the server certificate. For more information, see the AWS Certificate Manager User Guide.
public CreateClientVpnEndpointRequest withServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate. For more information, see the AWS Certificate Manager User Guide.
serverCertificateArn
- The ARN of the server certificate. For more information, see the AWS Certificate Manager User Guide.public List<ClientVpnAuthenticationRequest> getAuthenticationOptions()
Information about the authentication method to be used to authenticate clients.
public void setAuthenticationOptions(Collection<ClientVpnAuthenticationRequest> authenticationOptions)
Information about the authentication method to be used to authenticate clients.
authenticationOptions
- Information about the authentication method to be used to authenticate clients.public CreateClientVpnEndpointRequest withAuthenticationOptions(ClientVpnAuthenticationRequest... authenticationOptions)
Information about the authentication method to be used to authenticate clients.
NOTE: This method appends the values to the existing list (if any). Use
setAuthenticationOptions(java.util.Collection)
or
withAuthenticationOptions(java.util.Collection)
if you want to override the existing values.
authenticationOptions
- Information about the authentication method to be used to authenticate clients.public CreateClientVpnEndpointRequest withAuthenticationOptions(Collection<ClientVpnAuthenticationRequest> authenticationOptions)
Information about the authentication method to be used to authenticate clients.
authenticationOptions
- Information about the authentication method to be used to authenticate clients.public void setConnectionLogOptions(ConnectionLogOptions connectionLogOptions)
Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
connectionLogOptions
- Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
public ConnectionLogOptions getConnectionLogOptions()
Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
public CreateClientVpnEndpointRequest withConnectionLogOptions(ConnectionLogOptions connectionLogOptions)
Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
connectionLogOptions
- Information about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
Client connection requests
Client connection results (successful and unsuccessful)
Reasons for unsuccessful client connection requests
Client connection termination time
public List<String> getDnsServers()
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
public void setDnsServers(Collection<String> dnsServers)
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
dnsServers
- Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two
DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS
server.public CreateClientVpnEndpointRequest withDnsServers(String... dnsServers)
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
NOTE: This method appends the values to the existing list (if any). Use
setDnsServers(java.util.Collection)
or withDnsServers(java.util.Collection)
if you want to
override the existing values.
dnsServers
- Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two
DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS
server.public CreateClientVpnEndpointRequest withDnsServers(Collection<String> dnsServers)
Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
dnsServers
- Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two
DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS
server.public void setTransportProtocol(String transportProtocol)
The transport protocol to be used by the VPN session.
Default value: udp
transportProtocol
- The transport protocol to be used by the VPN session.
Default value: udp
TransportProtocol
public String getTransportProtocol()
The transport protocol to be used by the VPN session.
Default value: udp
Default value: udp
TransportProtocol
public CreateClientVpnEndpointRequest withTransportProtocol(String transportProtocol)
The transport protocol to be used by the VPN session.
Default value: udp
transportProtocol
- The transport protocol to be used by the VPN session.
Default value: udp
TransportProtocol
public CreateClientVpnEndpointRequest withTransportProtocol(TransportProtocol transportProtocol)
The transport protocol to be used by the VPN session.
Default value: udp
transportProtocol
- The transport protocol to be used by the VPN session.
Default value: udp
TransportProtocol
public void setDescription(String description)
A brief description of the Client VPN endpoint.
description
- A brief description of the Client VPN endpoint.public String getDescription()
A brief description of the Client VPN endpoint.
public CreateClientVpnEndpointRequest withDescription(String description)
A brief description of the Client VPN endpoint.
description
- A brief description of the Client VPN endpoint.public void setSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
splitTunnel
- Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
public Boolean getSplitTunnel()
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
public CreateClientVpnEndpointRequest withSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
splitTunnel
- Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
public Boolean isSplitTunnel()
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
public CreateClientVpnEndpointRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public List<TagSpecification> getTagSpecifications()
The tags to apply to the Client VPN endpoint during creation.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
tagSpecifications
- The tags to apply to the Client VPN endpoint during creation.public CreateClientVpnEndpointRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to apply to the Client VPN endpoint during creation.public CreateClientVpnEndpointRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Client VPN endpoint during creation.
tagSpecifications
- The tags to apply to the Client VPN endpoint during creation.public Request<CreateClientVpnEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateClientVpnEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateClientVpnEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.