@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getEnableAcceleration() != null)
            sb.append("EnableAcceleration: ").append(getEnableAcceleration()).append(",");
        if (getStaticRoutesOnly() != null)
            sb.append("StaticRoutesOnly: ").append(getStaticRoutesOnly()).append(",");
        if (getLocalIpv4NetworkCidr() != null)
            sb.append("LocalIpv4NetworkCidr: ").append(getLocalIpv4NetworkCidr()).append(",");
        if (getRemoteIpv4NetworkCidr() != null)
            sb.append("RemoteIpv4NetworkCidr: ").append(getRemoteIpv4NetworkCidr()).append(",");
        if (getLocalIpv6NetworkCidr() != null)
            sb.append("LocalIpv6NetworkCidr: ").append(getLocalIpv6NetworkCidr()).append(",");
        if (getRemoteIpv6NetworkCidr() != null)
            sb.append("RemoteIpv6NetworkCidr: ").append(getRemoteIpv6NetworkCidr()).append(",");
        if (getOutsideIpAddressType() != null)
            sb.append("OutsideIpAddressType: ").append(getOutsideIpAddressType()).append(",");
        if (getTransportTransitGatewayAttachmentId() != null)
            sb.append("TransportTransitGatewayAttachmentId: ").append(getTransportTransitGatewayAttachmentId()).append(",");
        if (getTunnelInsideIpVersion() != null)
            sb.append("TunnelInsideIpVersion: ").append(getTunnelInsideIpVersion()).append(",");
        if (getTunnelOptions() != null)
            sb.append("TunnelOptions: ").append(getTunnelOptions());
        sb.append("}");
        return sb.toString();
    }
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()
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/VpnConnectionOptions.java