All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.ec2.model.ModifyClientVpnEndpointRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon EC2 module holds the client classes that are used for communicating with Amazon EC2 Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.ec2.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.Request;
import com.amazonaws.services.ec2.model.transform.ModifyClientVpnEndpointRequestMarshaller;

/**
 * 
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ModifyClientVpnEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable,
        DryRunSupportedRequest {

    /**
     * 

* The ID of the Client VPN endpoint to modify. *

*/ private String clientVpnEndpointId; /** *

* The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager * (ACM). *

*/ private String serverCertificateArn; /** *

* 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 *

    *
  • *
*/ private ConnectionLogOptions connectionLogOptions; /** *

* Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two * DNS servers. *

*/ private DnsServersOptionsModifyStructure dnsServers; /** *

* The port number to assign to the Client VPN endpoint for TCP and UDP traffic. *

*

* Valid Values: 443 | 1194 *

*

* Default Value: 443 *

*/ private Integer vpnPort; /** *

* A brief description of the Client VPN endpoint. *

*/ private String description; /** *

* 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. *

*/ private Boolean splitTunnel; /** *

* The IDs of one or more security groups to apply to the target network. *

*/ private com.amazonaws.internal.SdkInternalList securityGroupIds; /** *

* The ID of the VPC to associate with the Client VPN endpoint. *

*/ private String vpcId; /** *

* Specify whether to enable the self-service portal for the Client VPN endpoint. *

*/ private String selfServicePortal; /** *

* The options for managing connection authorization for new client connections. *

*/ private ClientConnectOptions clientConnectOptions; /** *

* The maximum VPN session duration time in hours. *

*

* Valid values: 8 | 10 | 12 | 24 *

*

* Default value: 24 *

*/ private Integer sessionTimeoutHours; /** *

* Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients * when a VPN session is established. *

*/ private ClientLoginBannerOptions clientLoginBannerOptions; /** *

* The ID of the Client VPN endpoint to modify. *

* * @param clientVpnEndpointId * The ID of the Client VPN endpoint to modify. */ public void setClientVpnEndpointId(String clientVpnEndpointId) { this.clientVpnEndpointId = clientVpnEndpointId; } /** *

* The ID of the Client VPN endpoint to modify. *

* * @return The ID of the Client VPN endpoint to modify. */ public String getClientVpnEndpointId() { return this.clientVpnEndpointId; } /** *

* The ID of the Client VPN endpoint to modify. *

* * @param clientVpnEndpointId * The ID of the Client VPN endpoint to modify. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withClientVpnEndpointId(String clientVpnEndpointId) { setClientVpnEndpointId(clientVpnEndpointId); return this; } /** *

* The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager * (ACM). *

* * @param serverCertificateArn * The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate * Manager (ACM). */ public void setServerCertificateArn(String serverCertificateArn) { this.serverCertificateArn = serverCertificateArn; } /** *

* The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager * (ACM). *

* * @return The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate * Manager (ACM). */ public String getServerCertificateArn() { return this.serverCertificateArn; } /** *

* The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager * (ACM). *

* * @param serverCertificateArn * The ARN of the server certificate to be used. The server certificate must be provisioned in Certificate * Manager (ACM). * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withServerCertificateArn(String serverCertificateArn) { setServerCertificateArn(serverCertificateArn); return this; } /** *

* 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 *

    *
  • *
* * @param 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 setConnectionLogOptions(ConnectionLogOptions connectionLogOptions) { this.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 *

      *
    • *
    * * @return 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() { return this.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 *

        *
      • *
      * * @param 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 *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withConnectionLogOptions(ConnectionLogOptions connectionLogOptions) { setConnectionLogOptions(connectionLogOptions); return this; } /** *

        * Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two * DNS servers. *

        * * @param 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 setDnsServers(DnsServersOptionsModifyStructure dnsServers) { this.dnsServers = dnsServers; } /** *

        * Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two * DNS servers. *

        * * @return 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() { return this.dnsServers; } /** *

        * Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two * DNS servers. *

        * * @param dnsServers * Information about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up * to two DNS servers. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withDnsServers(DnsServersOptionsModifyStructure dnsServers) { setDnsServers(dnsServers); return this; } /** *

        * The port number to assign to the Client VPN endpoint for TCP and UDP traffic. *

        *

        * Valid Values: 443 | 1194 *

        *

        * Default Value: 443 *

        * * @param 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 setVpnPort(Integer vpnPort) { this.vpnPort = vpnPort; } /** *

        * The port number to assign to the Client VPN endpoint for TCP and UDP traffic. *

        *

        * Valid Values: 443 | 1194 *

        *

        * Default Value: 443 *

        * * @return 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() { return this.vpnPort; } /** *

        * The port number to assign to the Client VPN endpoint for TCP and UDP traffic. *

        *

        * Valid Values: 443 | 1194 *

        *

        * Default Value: 443 *

        * * @param vpnPort * The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

        *

        * Valid Values: 443 | 1194 *

        *

        * Default Value: 443 * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withVpnPort(Integer vpnPort) { setVpnPort(vpnPort); return this; } /** *

        * A brief description of the Client VPN endpoint. *

        * * @param description * A brief description of the Client VPN endpoint. */ public void setDescription(String description) { this.description = description; } /** *

        * A brief description of the Client VPN endpoint. *

        * * @return A brief description of the Client VPN endpoint. */ public String getDescription() { return this.description; } /** *

        * A brief description of the Client VPN endpoint. *

        * * @param description * A brief description of the Client VPN endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withDescription(String description) { setDescription(description); return this; } /** *

        * 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. *

        * * @param 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 void setSplitTunnel(Boolean splitTunnel) { this.splitTunnel = 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. *

        * * @return 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() { return this.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. *

        * * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withSplitTunnel(Boolean splitTunnel) { setSplitTunnel(splitTunnel); return this; } /** *

        * 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. *

        * * @return 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() { return this.splitTunnel; } /** *

        * The IDs of one or more security groups to apply to the target network. *

        * * @return The IDs of one or more security groups to apply to the target network. */ public java.util.List getSecurityGroupIds() { if (securityGroupIds == null) { securityGroupIds = new com.amazonaws.internal.SdkInternalList(); } return securityGroupIds; } /** *

        * The IDs of one or more security groups to apply to the target network. *

        * * @param securityGroupIds * The IDs of one or more security groups to apply to the target network. */ public void setSecurityGroupIds(java.util.Collection securityGroupIds) { if (securityGroupIds == null) { this.securityGroupIds = null; return; } this.securityGroupIds = new com.amazonaws.internal.SdkInternalList(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 * {@link #setSecurityGroupIds(java.util.Collection)} or {@link #withSecurityGroupIds(java.util.Collection)} if you * want to override the existing values. *

        * * @param securityGroupIds * The IDs of one or more security groups to apply to the target network. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withSecurityGroupIds(String... securityGroupIds) { if (this.securityGroupIds == null) { setSecurityGroupIds(new com.amazonaws.internal.SdkInternalList(securityGroupIds.length)); } for (String ele : securityGroupIds) { this.securityGroupIds.add(ele); } return this; } /** *

        * The IDs of one or more security groups to apply to the target network. *

        * * @param securityGroupIds * The IDs of one or more security groups to apply to the target network. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withSecurityGroupIds(java.util.Collection securityGroupIds) { setSecurityGroupIds(securityGroupIds); return this; } /** *

        * The ID of the VPC to associate with the Client VPN endpoint. *

        * * @param vpcId * The ID of the VPC to associate with the Client VPN endpoint. */ public void setVpcId(String vpcId) { this.vpcId = vpcId; } /** *

        * The ID of the VPC to associate with the Client VPN endpoint. *

        * * @return The ID of the VPC to associate with the Client VPN endpoint. */ public String getVpcId() { return this.vpcId; } /** *

        * The ID of the VPC to associate with the Client VPN endpoint. *

        * * @param vpcId * The ID of the VPC to associate with the Client VPN endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withVpcId(String vpcId) { setVpcId(vpcId); return this; } /** *

        * Specify whether to enable the self-service portal for the Client VPN endpoint. *

        * * @param selfServicePortal * Specify whether to enable the self-service portal for the Client VPN endpoint. * @see SelfServicePortal */ public void setSelfServicePortal(String selfServicePortal) { this.selfServicePortal = selfServicePortal; } /** *

        * Specify whether to enable the self-service portal for the Client VPN endpoint. *

        * * @return Specify whether to enable the self-service portal for the Client VPN endpoint. * @see SelfServicePortal */ public String getSelfServicePortal() { return this.selfServicePortal; } /** *

        * Specify whether to enable the self-service portal for the Client VPN endpoint. *

        * * @param selfServicePortal * Specify whether to enable the self-service portal for the Client VPN endpoint. * @return Returns a reference to this object so that method calls can be chained together. * @see SelfServicePortal */ public ModifyClientVpnEndpointRequest withSelfServicePortal(String selfServicePortal) { setSelfServicePortal(selfServicePortal); return this; } /** *

        * Specify whether to enable the self-service portal for the Client VPN endpoint. *

        * * @param selfServicePortal * Specify whether to enable the self-service portal for the Client VPN endpoint. * @return Returns a reference to this object so that method calls can be chained together. * @see SelfServicePortal */ public ModifyClientVpnEndpointRequest withSelfServicePortal(SelfServicePortal selfServicePortal) { this.selfServicePortal = selfServicePortal.toString(); return this; } /** *

        * The options for managing connection authorization for new client connections. *

        * * @param clientConnectOptions * The options for managing connection authorization for new client connections. */ public void setClientConnectOptions(ClientConnectOptions clientConnectOptions) { this.clientConnectOptions = clientConnectOptions; } /** *

        * The options for managing connection authorization for new client connections. *

        * * @return The options for managing connection authorization for new client connections. */ public ClientConnectOptions getClientConnectOptions() { return this.clientConnectOptions; } /** *

        * The options for managing connection authorization for new client connections. *

        * * @param clientConnectOptions * The options for managing connection authorization for new client connections. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withClientConnectOptions(ClientConnectOptions clientConnectOptions) { setClientConnectOptions(clientConnectOptions); return this; } /** *

        * The maximum VPN session duration time in hours. *

        *

        * Valid values: 8 | 10 | 12 | 24 *

        *

        * Default value: 24 *

        * * @param sessionTimeoutHours * The maximum VPN session duration time in hours.

        *

        * Valid values: 8 | 10 | 12 | 24 *

        *

        * Default value: 24 */ public void setSessionTimeoutHours(Integer sessionTimeoutHours) { this.sessionTimeoutHours = sessionTimeoutHours; } /** *

        * The maximum VPN session duration time in hours. *

        *

        * Valid values: 8 | 10 | 12 | 24 *

        *

        * Default value: 24 *

        * * @return The maximum VPN session duration time in hours.

        *

        * Valid values: 8 | 10 | 12 | 24 *

        *

        * Default value: 24 */ public Integer getSessionTimeoutHours() { return this.sessionTimeoutHours; } /** *

        * The maximum VPN session duration time in hours. *

        *

        * Valid values: 8 | 10 | 12 | 24 *

        *

        * Default value: 24 *

        * * @param sessionTimeoutHours * The maximum VPN session duration time in hours.

        *

        * Valid values: 8 | 10 | 12 | 24 *

        *

        * Default value: 24 * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withSessionTimeoutHours(Integer sessionTimeoutHours) { setSessionTimeoutHours(sessionTimeoutHours); return this; } /** *

        * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients * when a VPN session is established. *

        * * @param 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 void setClientLoginBannerOptions(ClientLoginBannerOptions clientLoginBannerOptions) { this.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. *

        * * @return 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() { return this.clientLoginBannerOptions; } /** *

        * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients * when a VPN session is established. *

        * * @param clientLoginBannerOptions * Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided * clients when a VPN session is established. * @return Returns a reference to this object so that method calls can be chained together. */ public ModifyClientVpnEndpointRequest withClientLoginBannerOptions(ClientLoginBannerOptions clientLoginBannerOptions) { setClientLoginBannerOptions(clientLoginBannerOptions); return this; } /** * This method is intended for internal use only. Returns the marshaled request configured with additional * parameters to enable operation dry-run. */ @Override public Request getDryRunRequest() { Request request = new ModifyClientVpnEndpointRequestMarshaller().marshall(this); request.addParameter("DryRun", Boolean.toString(true)); return request; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getClientVpnEndpointId() != null) sb.append("ClientVpnEndpointId: ").append(getClientVpnEndpointId()).append(","); if (getServerCertificateArn() != null) sb.append("ServerCertificateArn: ").append(getServerCertificateArn()).append(","); if (getConnectionLogOptions() != null) sb.append("ConnectionLogOptions: ").append(getConnectionLogOptions()).append(","); if (getDnsServers() != null) sb.append("DnsServers: ").append(getDnsServers()).append(","); if (getVpnPort() != null) sb.append("VpnPort: ").append(getVpnPort()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getSplitTunnel() != null) sb.append("SplitTunnel: ").append(getSplitTunnel()).append(","); if (getSecurityGroupIds() != null) sb.append("SecurityGroupIds: ").append(getSecurityGroupIds()).append(","); if (getVpcId() != null) sb.append("VpcId: ").append(getVpcId()).append(","); if (getSelfServicePortal() != null) sb.append("SelfServicePortal: ").append(getSelfServicePortal()).append(","); if (getClientConnectOptions() != null) sb.append("ClientConnectOptions: ").append(getClientConnectOptions()).append(","); if (getSessionTimeoutHours() != null) sb.append("SessionTimeoutHours: ").append(getSessionTimeoutHours()).append(","); if (getClientLoginBannerOptions() != null) sb.append("ClientLoginBannerOptions: ").append(getClientLoginBannerOptions()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ModifyClientVpnEndpointRequest == false) return false; ModifyClientVpnEndpointRequest other = (ModifyClientVpnEndpointRequest) obj; if (other.getClientVpnEndpointId() == null ^ this.getClientVpnEndpointId() == null) return false; if (other.getClientVpnEndpointId() != null && other.getClientVpnEndpointId().equals(this.getClientVpnEndpointId()) == false) return false; if (other.getServerCertificateArn() == null ^ this.getServerCertificateArn() == null) return false; if (other.getServerCertificateArn() != null && other.getServerCertificateArn().equals(this.getServerCertificateArn()) == false) return false; if (other.getConnectionLogOptions() == null ^ this.getConnectionLogOptions() == null) return false; if (other.getConnectionLogOptions() != null && other.getConnectionLogOptions().equals(this.getConnectionLogOptions()) == false) return false; if (other.getDnsServers() == null ^ this.getDnsServers() == null) return false; if (other.getDnsServers() != null && other.getDnsServers().equals(this.getDnsServers()) == false) return false; if (other.getVpnPort() == null ^ this.getVpnPort() == null) return false; if (other.getVpnPort() != null && other.getVpnPort().equals(this.getVpnPort()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getSplitTunnel() == null ^ this.getSplitTunnel() == null) return false; if (other.getSplitTunnel() != null && other.getSplitTunnel().equals(this.getSplitTunnel()) == false) return false; if (other.getSecurityGroupIds() == null ^ this.getSecurityGroupIds() == null) return false; if (other.getSecurityGroupIds() != null && other.getSecurityGroupIds().equals(this.getSecurityGroupIds()) == false) return false; if (other.getVpcId() == null ^ this.getVpcId() == null) return false; if (other.getVpcId() != null && other.getVpcId().equals(this.getVpcId()) == false) return false; if (other.getSelfServicePortal() == null ^ this.getSelfServicePortal() == null) return false; if (other.getSelfServicePortal() != null && other.getSelfServicePortal().equals(this.getSelfServicePortal()) == false) return false; if (other.getClientConnectOptions() == null ^ this.getClientConnectOptions() == null) return false; if (other.getClientConnectOptions() != null && other.getClientConnectOptions().equals(this.getClientConnectOptions()) == false) return false; if (other.getSessionTimeoutHours() == null ^ this.getSessionTimeoutHours() == null) return false; if (other.getSessionTimeoutHours() != null && other.getSessionTimeoutHours().equals(this.getSessionTimeoutHours()) == false) return false; if (other.getClientLoginBannerOptions() == null ^ this.getClientLoginBannerOptions() == null) return false; if (other.getClientLoginBannerOptions() != null && other.getClientLoginBannerOptions().equals(this.getClientLoginBannerOptions()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getClientVpnEndpointId() == null) ? 0 : getClientVpnEndpointId().hashCode()); hashCode = prime * hashCode + ((getServerCertificateArn() == null) ? 0 : getServerCertificateArn().hashCode()); hashCode = prime * hashCode + ((getConnectionLogOptions() == null) ? 0 : getConnectionLogOptions().hashCode()); hashCode = prime * hashCode + ((getDnsServers() == null) ? 0 : getDnsServers().hashCode()); hashCode = prime * hashCode + ((getVpnPort() == null) ? 0 : getVpnPort().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getSplitTunnel() == null) ? 0 : getSplitTunnel().hashCode()); hashCode = prime * hashCode + ((getSecurityGroupIds() == null) ? 0 : getSecurityGroupIds().hashCode()); hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode()); hashCode = prime * hashCode + ((getSelfServicePortal() == null) ? 0 : getSelfServicePortal().hashCode()); hashCode = prime * hashCode + ((getClientConnectOptions() == null) ? 0 : getClientConnectOptions().hashCode()); hashCode = prime * hashCode + ((getSessionTimeoutHours() == null) ? 0 : getSessionTimeoutHours().hashCode()); hashCode = prime * hashCode + ((getClientLoginBannerOptions() == null) ? 0 : getClientLoginBannerOptions().hashCode()); return hashCode; } @Override public ModifyClientVpnEndpointRequest clone() { return (ModifyClientVpnEndpointRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy