@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyClientVpnEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyClientVpnEndpointRequest>
NOOP
Constructor and Description |
---|
ModifyClientVpnEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyClientVpnEndpointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ClientConnectOptions |
getClientConnectOptions()
The options for managing connection authorization for new client connections.
|
ClientLoginBannerOptions |
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 to modify.
|
ConnectionLogOptions |
getConnectionLogOptions()
Information about the client connection logging options.
|
String |
getDescription()
A brief description of the Client VPN endpoint.
|
DnsServersOptionsModifyStructure |
getDnsServers()
Information about the DNS servers to be used by Client VPN connections.
|
Request<ModifyClientVpnEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getSecurityGroupIds()
The IDs of one or more security groups to apply to the target network.
|
String |
getSelfServicePortal()
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
String |
getServerCertificateArn()
The ARN of the server certificate to be used.
|
Integer |
getSessionTimeoutHours()
The maximum VPN session duration time in hours.
|
Boolean |
getSplitTunnel()
Indicates whether the VPN is split-tunnel.
|
String |
getVpcId()
The ID of the VPC to associate with the Client VPN endpoint.
|
Integer |
getVpnPort()
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
|
int |
hashCode() |
Boolean |
isSplitTunnel()
Indicates whether the VPN is split-tunnel.
|
void |
setClientConnectOptions(ClientConnectOptions clientConnectOptions)
The options for managing connection authorization for new client connections.
|
void |
setClientLoginBannerOptions(ClientLoginBannerOptions 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 to modify.
|
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(DnsServersOptionsModifyStructure dnsServers)
Information about the DNS servers to be used by Client VPN connections.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of one or more security groups to apply to the target network.
|
void |
setSelfServicePortal(String selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
void |
setServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate to be used.
|
void |
setSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
|
void |
setSplitTunnel(Boolean splitTunnel)
Indicates whether the VPN is split-tunnel.
|
void |
setVpcId(String vpcId)
The ID of the VPC to associate with the Client VPN endpoint.
|
void |
setVpnPort(Integer vpnPort)
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
|
String |
toString()
Returns a string representation of this object.
|
ModifyClientVpnEndpointRequest |
withClientConnectOptions(ClientConnectOptions clientConnectOptions)
The options for managing connection authorization for new client connections.
|
ModifyClientVpnEndpointRequest |
withClientLoginBannerOptions(ClientLoginBannerOptions clientLoginBannerOptions)
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients
when a VPN session is established.
|
ModifyClientVpnEndpointRequest |
withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to modify.
|
ModifyClientVpnEndpointRequest |
withConnectionLogOptions(ConnectionLogOptions connectionLogOptions)
Information about the client connection logging options.
|
ModifyClientVpnEndpointRequest |
withDescription(String description)
A brief description of the Client VPN endpoint.
|
ModifyClientVpnEndpointRequest |
withDnsServers(DnsServersOptionsModifyStructure dnsServers)
Information about the DNS servers to be used by Client VPN connections.
|
ModifyClientVpnEndpointRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of one or more security groups to apply to the target network.
|
ModifyClientVpnEndpointRequest |
withSecurityGroupIds(String... securityGroupIds)
The IDs of one or more security groups to apply to the target network.
|
ModifyClientVpnEndpointRequest |
withSelfServicePortal(SelfServicePortal selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
ModifyClientVpnEndpointRequest |
withSelfServicePortal(String selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
ModifyClientVpnEndpointRequest |
withServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate to be used.
|
ModifyClientVpnEndpointRequest |
withSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
|
ModifyClientVpnEndpointRequest |
withSplitTunnel(Boolean splitTunnel)
Indicates whether the VPN is split-tunnel.
|
ModifyClientVpnEndpointRequest |
withVpcId(String vpcId)
The ID of the VPC to associate with the Client VPN endpoint.
|
ModifyClientVpnEndpointRequest |
withVpnPort(Integer vpnPort)
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
|
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 setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to modify.
clientVpnEndpointId
- The ID of the Client VPN endpoint to modify.public String getClientVpnEndpointId()
The ID of the Client VPN endpoint to modify.
public ModifyClientVpnEndpointRequest withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to modify.
clientVpnEndpointId
- The ID of the Client VPN endpoint to modify.public void setServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
serverCertificateArn
- The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate
Manager (ACM).public String getServerCertificateArn()
The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
public ModifyClientVpnEndpointRequest withServerCertificateArn(String serverCertificateArn)
The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
serverCertificateArn
- The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate
Manager (ACM).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 ModifyClientVpnEndpointRequest 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 void setDnsServers(DnsServersOptionsModifyStructure dnsServers)
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
dnsServers
- Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up
to two DNS servers.public DnsServersOptionsModifyStructure getDnsServers()
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
public ModifyClientVpnEndpointRequest withDnsServers(DnsServersOptionsModifyStructure dnsServers)
Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
dnsServers
- Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up
to two DNS servers.public void setVpnPort(Integer vpnPort)
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
vpnPort
- The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
public Integer getVpnPort()
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
Valid Values: 443
| 1194
Default Value: 443
public ModifyClientVpnEndpointRequest withVpnPort(Integer vpnPort)
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
vpnPort
- The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443
| 1194
Default Value: 443
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 ModifyClientVpnEndpointRequest 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 the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
splitTunnel
- Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
public Boolean getSplitTunnel()
Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
public ModifyClientVpnEndpointRequest withSplitTunnel(Boolean splitTunnel)
Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
splitTunnel
- Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
public Boolean isSplitTunnel()
Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
public List<String> getSecurityGroupIds()
The IDs of one or more security groups to apply to the target network.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of one or more security groups to apply to the target network.
securityGroupIds
- The IDs of one or more security groups to apply to the target network.public ModifyClientVpnEndpointRequest withSecurityGroupIds(String... securityGroupIds)
The IDs of one or more security groups to apply to the target network.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The IDs of one or more security groups to apply to the target network.public ModifyClientVpnEndpointRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of one or more security groups to apply to the target network.
securityGroupIds
- The IDs of one or more security groups to apply to the target network.public void setVpcId(String vpcId)
The ID of the VPC to associate with the Client VPN endpoint.
vpcId
- The ID of the VPC to associate with the Client VPN endpoint.public String getVpcId()
The ID of the VPC to associate with the Client VPN endpoint.
public ModifyClientVpnEndpointRequest withVpcId(String vpcId)
The ID of the VPC to associate with the Client VPN endpoint.
vpcId
- The ID of the VPC to associate with the Client VPN endpoint.public void setSelfServicePortal(String selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
selfServicePortal
- Specify whether to enable the self-service portal for the Client VPN endpoint.SelfServicePortal
public String getSelfServicePortal()
Specify whether to enable the self-service portal for the Client VPN endpoint.
SelfServicePortal
public ModifyClientVpnEndpointRequest withSelfServicePortal(String selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
selfServicePortal
- Specify whether to enable the self-service portal for the Client VPN endpoint.SelfServicePortal
public ModifyClientVpnEndpointRequest withSelfServicePortal(SelfServicePortal selfServicePortal)
Specify whether to enable the self-service portal for the Client VPN endpoint.
selfServicePortal
- Specify whether to enable the self-service portal for the Client VPN endpoint.SelfServicePortal
public void setClientConnectOptions(ClientConnectOptions clientConnectOptions)
The options for managing connection authorization for new client connections.
clientConnectOptions
- The options for managing connection authorization for new client connections.public ClientConnectOptions getClientConnectOptions()
The options for managing connection authorization for new client connections.
public ModifyClientVpnEndpointRequest withClientConnectOptions(ClientConnectOptions 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.
Valid values: 8 | 10 | 12 | 24
Default value: 24
sessionTimeoutHours
- The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
public Integer getSessionTimeoutHours()
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
Valid values: 8 | 10 | 12 | 24
Default value: 24
public ModifyClientVpnEndpointRequest withSessionTimeoutHours(Integer sessionTimeoutHours)
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
sessionTimeoutHours
- The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
public void setClientLoginBannerOptions(ClientLoginBannerOptions 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 ClientLoginBannerOptions 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 ModifyClientVpnEndpointRequest withClientLoginBannerOptions(ClientLoginBannerOptions 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 Request<ModifyClientVpnEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyClientVpnEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyClientVpnEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()