@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2ClientVpnEndpointDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Client VPN endpoint. A Client VPN endpoint is the resource that you create and configure to enable and manage client VPN sessions. It's the termination point for all client VPN sessions.
Constructor and Description |
---|
AwsEc2ClientVpnEndpointDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2ClientVpnEndpointDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> |
getAuthenticationOptions()
Information about the authentication method used by the Client VPN endpoint.
|
String |
getClientCidrBlock()
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
|
AwsEc2ClientVpnEndpointClientConnectOptionsDetails |
getClientConnectOptions()
The options for managing connection authorization for new client connections.
|
AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails |
getClientLoginBannerOptions()
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients
when a VPN session is established.
|
String |
getClientVpnEndpointId()
The ID of the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointConnectionLogOptionsDetails |
getConnectionLogOptions()
Information about the client connection logging options for the Client VPN endpoint.
|
String |
getDescription()
A brief description of the endpoint.
|
List<String> |
getDnsServer()
Information about the DNS servers to be used for DNS resolution.
|
List<String> |
getSecurityGroupIdSet()
The IDs of the security groups for the target network.
|
String |
getSelfServicePortalUrl()
The URL of the self-service portal.
|
String |
getServerCertificateArn()
The Amazon Resource Name (ARN) of the server certificate.
|
Integer |
getSessionTimeoutHours()
The maximum VPN session duration time in hours.
|
Boolean |
getSplitTunnel()
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
|
String |
getTransportProtocol()
The transport protocol used by the Client VPN endpoint.
|
String |
getVpcId()
The ID of the VPC.
|
Integer |
getVpnPort()
The port number for the Client VPN endpoint.
|
int |
hashCode() |
Boolean |
isSplitTunnel()
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationOptions(Collection<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
|
void |
setClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
|
void |
setClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails clientConnectOptions)
The options for managing connection authorization for new client connections.
|
void |
setClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails clientLoginBannerOptions)
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients
when a VPN session is established.
|
void |
setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
|
void |
setConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails connectionLogOptions)
Information about the client connection logging options for the Client VPN endpoint.
|
void |
setDescription(String description)
A brief description of the endpoint.
|
void |
setDnsServer(Collection<String> dnsServer)
Information about the DNS servers to be used for DNS resolution.
|
void |
setSecurityGroupIdSet(Collection<String> securityGroupIdSet)
The IDs of the security groups for the target network.
|
void |
setSelfServicePortalUrl(String selfServicePortalUrl)
The URL of the self-service portal.
|
void |
setServerCertificateArn(String serverCertificateArn)
The Amazon Resource Name (ARN) of the server certificate.
|
void |
setSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
|
void |
setSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
|
void |
setTransportProtocol(String transportProtocol)
The transport protocol used by the Client VPN endpoint.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
void |
setVpnPort(Integer vpnPort)
The port number for the Client VPN endpoint.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2ClientVpnEndpointDetails |
withAuthenticationOptions(AwsEc2ClientVpnEndpointAuthenticationOptionsDetails... authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withAuthenticationOptions(Collection<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
|
AwsEc2ClientVpnEndpointDetails |
withClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails clientConnectOptions)
The options for managing connection authorization for new client connections.
|
AwsEc2ClientVpnEndpointDetails |
withClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails clientLoginBannerOptions)
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients
when a VPN session is established.
|
AwsEc2ClientVpnEndpointDetails |
withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails connectionLogOptions)
Information about the client connection logging options for the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withDescription(String description)
A brief description of the endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withDnsServer(Collection<String> dnsServer)
Information about the DNS servers to be used for DNS resolution.
|
AwsEc2ClientVpnEndpointDetails |
withDnsServer(String... dnsServer)
Information about the DNS servers to be used for DNS resolution.
|
AwsEc2ClientVpnEndpointDetails |
withSecurityGroupIdSet(Collection<String> securityGroupIdSet)
The IDs of the security groups for the target network.
|
AwsEc2ClientVpnEndpointDetails |
withSecurityGroupIdSet(String... securityGroupIdSet)
The IDs of the security groups for the target network.
|
AwsEc2ClientVpnEndpointDetails |
withSelfServicePortalUrl(String selfServicePortalUrl)
The URL of the self-service portal.
|
AwsEc2ClientVpnEndpointDetails |
withServerCertificateArn(String serverCertificateArn)
The Amazon Resource Name (ARN) of the server certificate.
|
AwsEc2ClientVpnEndpointDetails |
withSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
|
AwsEc2ClientVpnEndpointDetails |
withSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withTransportProtocol(String transportProtocol)
The transport protocol used by the Client VPN endpoint.
|
AwsEc2ClientVpnEndpointDetails |
withVpcId(String vpcId)
The ID of the VPC.
|
AwsEc2ClientVpnEndpointDetails |
withVpnPort(Integer vpnPort)
The port number for the Client VPN endpoint.
|
public void setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
clientVpnEndpointId
- The ID of the Client VPN endpoint.public String getClientVpnEndpointId()
The ID of the Client VPN endpoint.
public AwsEc2ClientVpnEndpointDetails withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
clientVpnEndpointId
- The ID of the Client VPN endpoint.public void setDescription(String description)
A brief description of the endpoint.
description
- A brief description of the endpoint.public String getDescription()
A brief description of the endpoint.
public AwsEc2ClientVpnEndpointDetails withDescription(String description)
A brief description of the endpoint.
description
- A brief description of the endpoint.public void setClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
clientCidrBlock
- The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.public String getClientCidrBlock()
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
public AwsEc2ClientVpnEndpointDetails withClientCidrBlock(String clientCidrBlock)
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
clientCidrBlock
- The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.public List<String> getDnsServer()
Information about the DNS servers to be used for DNS resolution.
public void setDnsServer(Collection<String> dnsServer)
Information about the DNS servers to be used for DNS resolution.
dnsServer
- Information about the DNS servers to be used for DNS resolution.public AwsEc2ClientVpnEndpointDetails withDnsServer(String... dnsServer)
Information about the DNS servers to be used for DNS resolution.
NOTE: This method appends the values to the existing list (if any). Use
setDnsServer(java.util.Collection)
or withDnsServer(java.util.Collection)
if you want to
override the existing values.
dnsServer
- Information about the DNS servers to be used for DNS resolution.public AwsEc2ClientVpnEndpointDetails withDnsServer(Collection<String> dnsServer)
Information about the DNS servers to be used for DNS resolution.
dnsServer
- Information about the DNS servers to be used for DNS resolution.public void setSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
splitTunnel
- Indicates whether split-tunnel is enabled in the Client VPN endpoint.public Boolean getSplitTunnel()
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
public AwsEc2ClientVpnEndpointDetails withSplitTunnel(Boolean splitTunnel)
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
splitTunnel
- Indicates whether split-tunnel is enabled in the Client VPN endpoint.public Boolean isSplitTunnel()
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
public void setTransportProtocol(String transportProtocol)
The transport protocol used by the Client VPN endpoint.
transportProtocol
- The transport protocol used by the Client VPN endpoint.public String getTransportProtocol()
The transport protocol used by the Client VPN endpoint.
public AwsEc2ClientVpnEndpointDetails withTransportProtocol(String transportProtocol)
The transport protocol used by the Client VPN endpoint.
transportProtocol
- The transport protocol used by the Client VPN endpoint.public void setVpnPort(Integer vpnPort)
The port number for the Client VPN endpoint.
vpnPort
- The port number for the Client VPN endpoint.public Integer getVpnPort()
The port number for the Client VPN endpoint.
public AwsEc2ClientVpnEndpointDetails withVpnPort(Integer vpnPort)
The port number for the Client VPN endpoint.
vpnPort
- The port number for the Client VPN endpoint.public void setServerCertificateArn(String serverCertificateArn)
The Amazon Resource Name (ARN) of the server certificate.
serverCertificateArn
- The Amazon Resource Name (ARN) of the server certificate.public String getServerCertificateArn()
The Amazon Resource Name (ARN) of the server certificate.
public AwsEc2ClientVpnEndpointDetails withServerCertificateArn(String serverCertificateArn)
The Amazon Resource Name (ARN) of the server certificate.
serverCertificateArn
- The Amazon Resource Name (ARN) of the server certificate.public List<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> getAuthenticationOptions()
Information about the authentication method used by the Client VPN endpoint.
public void setAuthenticationOptions(Collection<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
authenticationOptions
- Information about the authentication method used by the Client VPN endpoint.public AwsEc2ClientVpnEndpointDetails withAuthenticationOptions(AwsEc2ClientVpnEndpointAuthenticationOptionsDetails... authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
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 used by the Client VPN endpoint.public AwsEc2ClientVpnEndpointDetails withAuthenticationOptions(Collection<AwsEc2ClientVpnEndpointAuthenticationOptionsDetails> authenticationOptions)
Information about the authentication method used by the Client VPN endpoint.
authenticationOptions
- Information about the authentication method used by the Client VPN endpoint.public void setConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails connectionLogOptions)
Information about the client connection logging options for the Client VPN endpoint.
connectionLogOptions
- Information about the client connection logging options for the Client VPN endpoint.public AwsEc2ClientVpnEndpointConnectionLogOptionsDetails getConnectionLogOptions()
Information about the client connection logging options for the Client VPN endpoint.
public AwsEc2ClientVpnEndpointDetails withConnectionLogOptions(AwsEc2ClientVpnEndpointConnectionLogOptionsDetails connectionLogOptions)
Information about the client connection logging options for the Client VPN endpoint.
connectionLogOptions
- Information about the client connection logging options for the Client VPN endpoint.public List<String> getSecurityGroupIdSet()
The IDs of the security groups for the target network.
public void setSecurityGroupIdSet(Collection<String> securityGroupIdSet)
The IDs of the security groups for the target network.
securityGroupIdSet
- The IDs of the security groups for the target network.public AwsEc2ClientVpnEndpointDetails withSecurityGroupIdSet(String... securityGroupIdSet)
The IDs of the security groups for the target network.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIdSet(java.util.Collection)
or withSecurityGroupIdSet(java.util.Collection)
if
you want to override the existing values.
securityGroupIdSet
- The IDs of the security groups for the target network.public AwsEc2ClientVpnEndpointDetails withSecurityGroupIdSet(Collection<String> securityGroupIdSet)
The IDs of the security groups for the target network.
securityGroupIdSet
- The IDs of the security groups for the target network.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public AwsEc2ClientVpnEndpointDetails withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setSelfServicePortalUrl(String selfServicePortalUrl)
The URL of the self-service portal.
selfServicePortalUrl
- The URL of the self-service portal.public String getSelfServicePortalUrl()
The URL of the self-service portal.
public AwsEc2ClientVpnEndpointDetails withSelfServicePortalUrl(String selfServicePortalUrl)
The URL of the self-service portal.
selfServicePortalUrl
- The URL of the self-service portal.public void setClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails clientConnectOptions)
The options for managing connection authorization for new client connections.
clientConnectOptions
- The options for managing connection authorization for new client connections.public AwsEc2ClientVpnEndpointClientConnectOptionsDetails getClientConnectOptions()
The options for managing connection authorization for new client connections.
public AwsEc2ClientVpnEndpointDetails withClientConnectOptions(AwsEc2ClientVpnEndpointClientConnectOptionsDetails clientConnectOptions)
The options for managing connection authorization for new client connections.
clientConnectOptions
- The options for managing connection authorization for new client connections.public void setSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
sessionTimeoutHours
- The maximum VPN session duration time in hours.public Integer getSessionTimeoutHours()
The maximum VPN session duration time in hours.
public AwsEc2ClientVpnEndpointDetails withSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
sessionTimeoutHours
- The maximum VPN session duration time in hours.public void setClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails clientLoginBannerOptions)
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
clientLoginBannerOptions
- Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided
clients when a VPN session is established.public AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails getClientLoginBannerOptions()
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
public AwsEc2ClientVpnEndpointDetails withClientLoginBannerOptions(AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails clientLoginBannerOptions)
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
clientLoginBannerOptions
- Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided
clients when a VPN session is established.public String toString()
toString
in class Object
Object.toString()
public AwsEc2ClientVpnEndpointDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.