@Generated(value="software.amazon.awssdk:codegen") public final class ClientVpnEndpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClientVpnEndpoint.Builder,ClientVpnEndpoint>
Describes a Client VPN endpoint.
Modifier and Type | Class and Description |
---|---|
static interface |
ClientVpnEndpoint.Builder |
Modifier and Type | Method and Description |
---|---|
List<AssociatedTargetNetwork> |
associatedTargetNetworks()
Information about the associated target networks.
|
List<ClientVpnAuthentication> |
authenticationOptions()
Information about the authentication method used by the Client VPN endpoint.
|
static ClientVpnEndpoint.Builder |
builder() |
String |
clientCidrBlock()
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
|
String |
clientVpnEndpointId()
The ID of the Client VPN endpoint.
|
ConnectionLogResponseOptions |
connectionLogOptions()
Information about the client connection logging options for the Client VPN endpoint.
|
String |
creationTime()
The date and time the Client VPN endpoint was created.
|
String |
deletionTime()
The date and time the Client VPN endpoint was deleted, if applicable.
|
String |
description()
A brief description of the endpoint.
|
String |
dnsName()
The DNS name to be used by clients when connecting to the Client VPN endpoint.
|
List<String> |
dnsServers()
Information about the DNS servers to be used for DNS resolution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssociatedTargetNetworks()
Returns true if the AssociatedTargetNetworks property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasAuthenticationOptions()
Returns true if the AuthenticationOptions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasDnsServers()
Returns true if the DnsServers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSecurityGroupIds()
Returns true if the SecurityGroupIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The IDs of the security groups for the target network.
|
static Class<? extends ClientVpnEndpoint.Builder> |
serializableBuilderClass() |
String |
serverCertificateArn()
The ARN of the server certificate.
|
Boolean |
splitTunnel()
Indicates whether split-tunnel is enabled in the AWS Client VPN endpoint.
|
ClientVpnEndpointStatus |
status()
The current state of the Client VPN endpoint.
|
List<Tag> |
tags()
Any tags assigned to the Client VPN endpoint.
|
ClientVpnEndpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TransportProtocol |
transportProtocol()
The transport protocol used by the Client VPN endpoint.
|
String |
transportProtocolAsString()
The transport protocol used by the Client VPN endpoint.
|
String |
vpcId()
The ID of the VPC.
|
Integer |
vpnPort()
The port number for the Client VPN endpoint.
|
VpnProtocol |
vpnProtocol()
The protocol used by the VPN session.
|
String |
vpnProtocolAsString()
The protocol used by the VPN session.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String clientVpnEndpointId()
The ID of the Client VPN endpoint.
public String description()
A brief description of the endpoint.
public ClientVpnEndpointStatus status()
The current state of the Client VPN endpoint.
public String creationTime()
The date and time the Client VPN endpoint was created.
public String deletionTime()
The date and time the Client VPN endpoint was deleted, if applicable.
public String dnsName()
The DNS name to be used by clients when connecting to the Client VPN endpoint.
public String clientCidrBlock()
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
public boolean hasDnsServers()
public List<String> dnsServers()
Information about the DNS servers to be used for DNS resolution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDnsServers()
to see if a value was sent in this field.
public Boolean splitTunnel()
Indicates whether split-tunnel is enabled in the AWS Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.
public VpnProtocol vpnProtocol()
The protocol used by the VPN session.
If the service returns an enum value that is not available in the current SDK version, vpnProtocol
will
return VpnProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
vpnProtocolAsString()
.
VpnProtocol
public String vpnProtocolAsString()
The protocol used by the VPN session.
If the service returns an enum value that is not available in the current SDK version, vpnProtocol
will
return VpnProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
vpnProtocolAsString()
.
VpnProtocol
public TransportProtocol transportProtocol()
The transport protocol used by the Client VPN endpoint.
If the service returns an enum value that is not available in the current SDK version, transportProtocol
will return TransportProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from transportProtocolAsString()
.
TransportProtocol
public String transportProtocolAsString()
The transport protocol used by the Client VPN endpoint.
If the service returns an enum value that is not available in the current SDK version, transportProtocol
will return TransportProtocol.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from transportProtocolAsString()
.
TransportProtocol
public Integer vpnPort()
The port number for the Client VPN endpoint.
public boolean hasAssociatedTargetNetworks()
public List<AssociatedTargetNetwork> associatedTargetNetworks()
Information about the associated target networks. A target network is a subnet in a VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAssociatedTargetNetworks()
to see if a value was sent in this field.
public String serverCertificateArn()
The ARN of the server certificate.
public boolean hasAuthenticationOptions()
public List<ClientVpnAuthentication> authenticationOptions()
Information about the authentication method used by the Client VPN endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAuthenticationOptions()
to see if a value was sent in this field.
public ConnectionLogResponseOptions connectionLogOptions()
Information about the client connection logging options for the Client VPN endpoint.
public boolean hasTags()
public List<Tag> tags()
Any tags assigned to the Client VPN endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public boolean hasSecurityGroupIds()
public List<String> securityGroupIds()
The IDs of the security groups for the target network.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupIds()
to see if a value was sent in this field.
public String vpcId()
The ID of the VPC.
public ClientVpnEndpoint.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ClientVpnEndpoint.Builder,ClientVpnEndpoint>
public static ClientVpnEndpoint.Builder builder()
public static Class<? extends ClientVpnEndpoint.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.