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

com.amazonaws.services.quicksight.model.DataSourceParameters Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2018-2023 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.quicksight.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The parameters that Amazon QuickSight uses to connect to your underlying data source. This is a variant type * structure. For this structure to be valid, only one of the attributes can be non-null. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DataSourceParameters implements Serializable, Cloneable, StructuredPojo { /** *

* The parameters for OpenSearch. *

*/ private AmazonElasticsearchParameters amazonElasticsearchParameters; /** *

* The parameters for Amazon Athena. *

*/ private AthenaParameters athenaParameters; /** *

* The parameters for Amazon Aurora MySQL. *

*/ private AuroraParameters auroraParameters; /** *

* The parameters for Amazon Aurora. *

*/ private AuroraPostgreSqlParameters auroraPostgreSqlParameters; /** *

* The parameters for IoT Analytics. *

*/ private AwsIotAnalyticsParameters awsIotAnalyticsParameters; /** *

* The parameters for Jira. *

*/ private JiraParameters jiraParameters; /** *

* The parameters for MariaDB. *

*/ private MariaDbParameters mariaDbParameters; /** *

* The parameters for MySQL. *

*/ private MySqlParameters mySqlParameters; /** *

* The parameters for Oracle. *

*/ private OracleParameters oracleParameters; /** *

* The parameters for PostgreSQL. *

*/ private PostgreSqlParameters postgreSqlParameters; /** *

* The parameters for Presto. *

*/ private PrestoParameters prestoParameters; /** *

* The parameters for Amazon RDS. *

*/ private RdsParameters rdsParameters; /** *

* The parameters for Amazon Redshift. *

*/ private RedshiftParameters redshiftParameters; /** *

* The parameters for S3. *

*/ private S3Parameters s3Parameters; /** *

* The parameters for ServiceNow. *

*/ private ServiceNowParameters serviceNowParameters; /** *

* The parameters for Snowflake. *

*/ private SnowflakeParameters snowflakeParameters; /** *

* The parameters for Spark. *

*/ private SparkParameters sparkParameters; /** *

* The parameters for SQL Server. *

*/ private SqlServerParameters sqlServerParameters; /** *

* The parameters for Teradata. *

*/ private TeradataParameters teradataParameters; /** *

* The parameters for Twitter. *

*/ private TwitterParameters twitterParameters; /** *

* The parameters for OpenSearch. *

*/ private AmazonOpenSearchParameters amazonOpenSearchParameters; /** *

* The parameters for Exasol. *

*/ private ExasolParameters exasolParameters; /** *

* The required parameters that are needed to connect to a Databricks data source. *

*/ private DatabricksParameters databricksParameters; /** *

* The parameters for OpenSearch. *

* * @param amazonElasticsearchParameters * The parameters for OpenSearch. */ public void setAmazonElasticsearchParameters(AmazonElasticsearchParameters amazonElasticsearchParameters) { this.amazonElasticsearchParameters = amazonElasticsearchParameters; } /** *

* The parameters for OpenSearch. *

* * @return The parameters for OpenSearch. */ public AmazonElasticsearchParameters getAmazonElasticsearchParameters() { return this.amazonElasticsearchParameters; } /** *

* The parameters for OpenSearch. *

* * @param amazonElasticsearchParameters * The parameters for OpenSearch. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withAmazonElasticsearchParameters(AmazonElasticsearchParameters amazonElasticsearchParameters) { setAmazonElasticsearchParameters(amazonElasticsearchParameters); return this; } /** *

* The parameters for Amazon Athena. *

* * @param athenaParameters * The parameters for Amazon Athena. */ public void setAthenaParameters(AthenaParameters athenaParameters) { this.athenaParameters = athenaParameters; } /** *

* The parameters for Amazon Athena. *

* * @return The parameters for Amazon Athena. */ public AthenaParameters getAthenaParameters() { return this.athenaParameters; } /** *

* The parameters for Amazon Athena. *

* * @param athenaParameters * The parameters for Amazon Athena. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withAthenaParameters(AthenaParameters athenaParameters) { setAthenaParameters(athenaParameters); return this; } /** *

* The parameters for Amazon Aurora MySQL. *

* * @param auroraParameters * The parameters for Amazon Aurora MySQL. */ public void setAuroraParameters(AuroraParameters auroraParameters) { this.auroraParameters = auroraParameters; } /** *

* The parameters for Amazon Aurora MySQL. *

* * @return The parameters for Amazon Aurora MySQL. */ public AuroraParameters getAuroraParameters() { return this.auroraParameters; } /** *

* The parameters for Amazon Aurora MySQL. *

* * @param auroraParameters * The parameters for Amazon Aurora MySQL. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withAuroraParameters(AuroraParameters auroraParameters) { setAuroraParameters(auroraParameters); return this; } /** *

* The parameters for Amazon Aurora. *

* * @param auroraPostgreSqlParameters * The parameters for Amazon Aurora. */ public void setAuroraPostgreSqlParameters(AuroraPostgreSqlParameters auroraPostgreSqlParameters) { this.auroraPostgreSqlParameters = auroraPostgreSqlParameters; } /** *

* The parameters for Amazon Aurora. *

* * @return The parameters for Amazon Aurora. */ public AuroraPostgreSqlParameters getAuroraPostgreSqlParameters() { return this.auroraPostgreSqlParameters; } /** *

* The parameters for Amazon Aurora. *

* * @param auroraPostgreSqlParameters * The parameters for Amazon Aurora. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withAuroraPostgreSqlParameters(AuroraPostgreSqlParameters auroraPostgreSqlParameters) { setAuroraPostgreSqlParameters(auroraPostgreSqlParameters); return this; } /** *

* The parameters for IoT Analytics. *

* * @param awsIotAnalyticsParameters * The parameters for IoT Analytics. */ public void setAwsIotAnalyticsParameters(AwsIotAnalyticsParameters awsIotAnalyticsParameters) { this.awsIotAnalyticsParameters = awsIotAnalyticsParameters; } /** *

* The parameters for IoT Analytics. *

* * @return The parameters for IoT Analytics. */ public AwsIotAnalyticsParameters getAwsIotAnalyticsParameters() { return this.awsIotAnalyticsParameters; } /** *

* The parameters for IoT Analytics. *

* * @param awsIotAnalyticsParameters * The parameters for IoT Analytics. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withAwsIotAnalyticsParameters(AwsIotAnalyticsParameters awsIotAnalyticsParameters) { setAwsIotAnalyticsParameters(awsIotAnalyticsParameters); return this; } /** *

* The parameters for Jira. *

* * @param jiraParameters * The parameters for Jira. */ public void setJiraParameters(JiraParameters jiraParameters) { this.jiraParameters = jiraParameters; } /** *

* The parameters for Jira. *

* * @return The parameters for Jira. */ public JiraParameters getJiraParameters() { return this.jiraParameters; } /** *

* The parameters for Jira. *

* * @param jiraParameters * The parameters for Jira. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withJiraParameters(JiraParameters jiraParameters) { setJiraParameters(jiraParameters); return this; } /** *

* The parameters for MariaDB. *

* * @param mariaDbParameters * The parameters for MariaDB. */ public void setMariaDbParameters(MariaDbParameters mariaDbParameters) { this.mariaDbParameters = mariaDbParameters; } /** *

* The parameters for MariaDB. *

* * @return The parameters for MariaDB. */ public MariaDbParameters getMariaDbParameters() { return this.mariaDbParameters; } /** *

* The parameters for MariaDB. *

* * @param mariaDbParameters * The parameters for MariaDB. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withMariaDbParameters(MariaDbParameters mariaDbParameters) { setMariaDbParameters(mariaDbParameters); return this; } /** *

* The parameters for MySQL. *

* * @param mySqlParameters * The parameters for MySQL. */ public void setMySqlParameters(MySqlParameters mySqlParameters) { this.mySqlParameters = mySqlParameters; } /** *

* The parameters for MySQL. *

* * @return The parameters for MySQL. */ public MySqlParameters getMySqlParameters() { return this.mySqlParameters; } /** *

* The parameters for MySQL. *

* * @param mySqlParameters * The parameters for MySQL. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withMySqlParameters(MySqlParameters mySqlParameters) { setMySqlParameters(mySqlParameters); return this; } /** *

* The parameters for Oracle. *

* * @param oracleParameters * The parameters for Oracle. */ public void setOracleParameters(OracleParameters oracleParameters) { this.oracleParameters = oracleParameters; } /** *

* The parameters for Oracle. *

* * @return The parameters for Oracle. */ public OracleParameters getOracleParameters() { return this.oracleParameters; } /** *

* The parameters for Oracle. *

* * @param oracleParameters * The parameters for Oracle. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withOracleParameters(OracleParameters oracleParameters) { setOracleParameters(oracleParameters); return this; } /** *

* The parameters for PostgreSQL. *

* * @param postgreSqlParameters * The parameters for PostgreSQL. */ public void setPostgreSqlParameters(PostgreSqlParameters postgreSqlParameters) { this.postgreSqlParameters = postgreSqlParameters; } /** *

* The parameters for PostgreSQL. *

* * @return The parameters for PostgreSQL. */ public PostgreSqlParameters getPostgreSqlParameters() { return this.postgreSqlParameters; } /** *

* The parameters for PostgreSQL. *

* * @param postgreSqlParameters * The parameters for PostgreSQL. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withPostgreSqlParameters(PostgreSqlParameters postgreSqlParameters) { setPostgreSqlParameters(postgreSqlParameters); return this; } /** *

* The parameters for Presto. *

* * @param prestoParameters * The parameters for Presto. */ public void setPrestoParameters(PrestoParameters prestoParameters) { this.prestoParameters = prestoParameters; } /** *

* The parameters for Presto. *

* * @return The parameters for Presto. */ public PrestoParameters getPrestoParameters() { return this.prestoParameters; } /** *

* The parameters for Presto. *

* * @param prestoParameters * The parameters for Presto. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withPrestoParameters(PrestoParameters prestoParameters) { setPrestoParameters(prestoParameters); return this; } /** *

* The parameters for Amazon RDS. *

* * @param rdsParameters * The parameters for Amazon RDS. */ public void setRdsParameters(RdsParameters rdsParameters) { this.rdsParameters = rdsParameters; } /** *

* The parameters for Amazon RDS. *

* * @return The parameters for Amazon RDS. */ public RdsParameters getRdsParameters() { return this.rdsParameters; } /** *

* The parameters for Amazon RDS. *

* * @param rdsParameters * The parameters for Amazon RDS. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withRdsParameters(RdsParameters rdsParameters) { setRdsParameters(rdsParameters); return this; } /** *

* The parameters for Amazon Redshift. *

* * @param redshiftParameters * The parameters for Amazon Redshift. */ public void setRedshiftParameters(RedshiftParameters redshiftParameters) { this.redshiftParameters = redshiftParameters; } /** *

* The parameters for Amazon Redshift. *

* * @return The parameters for Amazon Redshift. */ public RedshiftParameters getRedshiftParameters() { return this.redshiftParameters; } /** *

* The parameters for Amazon Redshift. *

* * @param redshiftParameters * The parameters for Amazon Redshift. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withRedshiftParameters(RedshiftParameters redshiftParameters) { setRedshiftParameters(redshiftParameters); return this; } /** *

* The parameters for S3. *

* * @param s3Parameters * The parameters for S3. */ public void setS3Parameters(S3Parameters s3Parameters) { this.s3Parameters = s3Parameters; } /** *

* The parameters for S3. *

* * @return The parameters for S3. */ public S3Parameters getS3Parameters() { return this.s3Parameters; } /** *

* The parameters for S3. *

* * @param s3Parameters * The parameters for S3. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withS3Parameters(S3Parameters s3Parameters) { setS3Parameters(s3Parameters); return this; } /** *

* The parameters for ServiceNow. *

* * @param serviceNowParameters * The parameters for ServiceNow. */ public void setServiceNowParameters(ServiceNowParameters serviceNowParameters) { this.serviceNowParameters = serviceNowParameters; } /** *

* The parameters for ServiceNow. *

* * @return The parameters for ServiceNow. */ public ServiceNowParameters getServiceNowParameters() { return this.serviceNowParameters; } /** *

* The parameters for ServiceNow. *

* * @param serviceNowParameters * The parameters for ServiceNow. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withServiceNowParameters(ServiceNowParameters serviceNowParameters) { setServiceNowParameters(serviceNowParameters); return this; } /** *

* The parameters for Snowflake. *

* * @param snowflakeParameters * The parameters for Snowflake. */ public void setSnowflakeParameters(SnowflakeParameters snowflakeParameters) { this.snowflakeParameters = snowflakeParameters; } /** *

* The parameters for Snowflake. *

* * @return The parameters for Snowflake. */ public SnowflakeParameters getSnowflakeParameters() { return this.snowflakeParameters; } /** *

* The parameters for Snowflake. *

* * @param snowflakeParameters * The parameters for Snowflake. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withSnowflakeParameters(SnowflakeParameters snowflakeParameters) { setSnowflakeParameters(snowflakeParameters); return this; } /** *

* The parameters for Spark. *

* * @param sparkParameters * The parameters for Spark. */ public void setSparkParameters(SparkParameters sparkParameters) { this.sparkParameters = sparkParameters; } /** *

* The parameters for Spark. *

* * @return The parameters for Spark. */ public SparkParameters getSparkParameters() { return this.sparkParameters; } /** *

* The parameters for Spark. *

* * @param sparkParameters * The parameters for Spark. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withSparkParameters(SparkParameters sparkParameters) { setSparkParameters(sparkParameters); return this; } /** *

* The parameters for SQL Server. *

* * @param sqlServerParameters * The parameters for SQL Server. */ public void setSqlServerParameters(SqlServerParameters sqlServerParameters) { this.sqlServerParameters = sqlServerParameters; } /** *

* The parameters for SQL Server. *

* * @return The parameters for SQL Server. */ public SqlServerParameters getSqlServerParameters() { return this.sqlServerParameters; } /** *

* The parameters for SQL Server. *

* * @param sqlServerParameters * The parameters for SQL Server. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withSqlServerParameters(SqlServerParameters sqlServerParameters) { setSqlServerParameters(sqlServerParameters); return this; } /** *

* The parameters for Teradata. *

* * @param teradataParameters * The parameters for Teradata. */ public void setTeradataParameters(TeradataParameters teradataParameters) { this.teradataParameters = teradataParameters; } /** *

* The parameters for Teradata. *

* * @return The parameters for Teradata. */ public TeradataParameters getTeradataParameters() { return this.teradataParameters; } /** *

* The parameters for Teradata. *

* * @param teradataParameters * The parameters for Teradata. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withTeradataParameters(TeradataParameters teradataParameters) { setTeradataParameters(teradataParameters); return this; } /** *

* The parameters for Twitter. *

* * @param twitterParameters * The parameters for Twitter. */ public void setTwitterParameters(TwitterParameters twitterParameters) { this.twitterParameters = twitterParameters; } /** *

* The parameters for Twitter. *

* * @return The parameters for Twitter. */ public TwitterParameters getTwitterParameters() { return this.twitterParameters; } /** *

* The parameters for Twitter. *

* * @param twitterParameters * The parameters for Twitter. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withTwitterParameters(TwitterParameters twitterParameters) { setTwitterParameters(twitterParameters); return this; } /** *

* The parameters for OpenSearch. *

* * @param amazonOpenSearchParameters * The parameters for OpenSearch. */ public void setAmazonOpenSearchParameters(AmazonOpenSearchParameters amazonOpenSearchParameters) { this.amazonOpenSearchParameters = amazonOpenSearchParameters; } /** *

* The parameters for OpenSearch. *

* * @return The parameters for OpenSearch. */ public AmazonOpenSearchParameters getAmazonOpenSearchParameters() { return this.amazonOpenSearchParameters; } /** *

* The parameters for OpenSearch. *

* * @param amazonOpenSearchParameters * The parameters for OpenSearch. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withAmazonOpenSearchParameters(AmazonOpenSearchParameters amazonOpenSearchParameters) { setAmazonOpenSearchParameters(amazonOpenSearchParameters); return this; } /** *

* The parameters for Exasol. *

* * @param exasolParameters * The parameters for Exasol. */ public void setExasolParameters(ExasolParameters exasolParameters) { this.exasolParameters = exasolParameters; } /** *

* The parameters for Exasol. *

* * @return The parameters for Exasol. */ public ExasolParameters getExasolParameters() { return this.exasolParameters; } /** *

* The parameters for Exasol. *

* * @param exasolParameters * The parameters for Exasol. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withExasolParameters(ExasolParameters exasolParameters) { setExasolParameters(exasolParameters); return this; } /** *

* The required parameters that are needed to connect to a Databricks data source. *

* * @param databricksParameters * The required parameters that are needed to connect to a Databricks data source. */ public void setDatabricksParameters(DatabricksParameters databricksParameters) { this.databricksParameters = databricksParameters; } /** *

* The required parameters that are needed to connect to a Databricks data source. *

* * @return The required parameters that are needed to connect to a Databricks data source. */ public DatabricksParameters getDatabricksParameters() { return this.databricksParameters; } /** *

* The required parameters that are needed to connect to a Databricks data source. *

* * @param databricksParameters * The required parameters that are needed to connect to a Databricks data source. * @return Returns a reference to this object so that method calls can be chained together. */ public DataSourceParameters withDatabricksParameters(DatabricksParameters databricksParameters) { setDatabricksParameters(databricksParameters); return this; } /** * 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 (getAmazonElasticsearchParameters() != null) sb.append("AmazonElasticsearchParameters: ").append(getAmazonElasticsearchParameters()).append(","); if (getAthenaParameters() != null) sb.append("AthenaParameters: ").append(getAthenaParameters()).append(","); if (getAuroraParameters() != null) sb.append("AuroraParameters: ").append(getAuroraParameters()).append(","); if (getAuroraPostgreSqlParameters() != null) sb.append("AuroraPostgreSqlParameters: ").append(getAuroraPostgreSqlParameters()).append(","); if (getAwsIotAnalyticsParameters() != null) sb.append("AwsIotAnalyticsParameters: ").append(getAwsIotAnalyticsParameters()).append(","); if (getJiraParameters() != null) sb.append("JiraParameters: ").append(getJiraParameters()).append(","); if (getMariaDbParameters() != null) sb.append("MariaDbParameters: ").append(getMariaDbParameters()).append(","); if (getMySqlParameters() != null) sb.append("MySqlParameters: ").append(getMySqlParameters()).append(","); if (getOracleParameters() != null) sb.append("OracleParameters: ").append(getOracleParameters()).append(","); if (getPostgreSqlParameters() != null) sb.append("PostgreSqlParameters: ").append(getPostgreSqlParameters()).append(","); if (getPrestoParameters() != null) sb.append("PrestoParameters: ").append(getPrestoParameters()).append(","); if (getRdsParameters() != null) sb.append("RdsParameters: ").append(getRdsParameters()).append(","); if (getRedshiftParameters() != null) sb.append("RedshiftParameters: ").append(getRedshiftParameters()).append(","); if (getS3Parameters() != null) sb.append("S3Parameters: ").append(getS3Parameters()).append(","); if (getServiceNowParameters() != null) sb.append("ServiceNowParameters: ").append(getServiceNowParameters()).append(","); if (getSnowflakeParameters() != null) sb.append("SnowflakeParameters: ").append(getSnowflakeParameters()).append(","); if (getSparkParameters() != null) sb.append("SparkParameters: ").append(getSparkParameters()).append(","); if (getSqlServerParameters() != null) sb.append("SqlServerParameters: ").append(getSqlServerParameters()).append(","); if (getTeradataParameters() != null) sb.append("TeradataParameters: ").append(getTeradataParameters()).append(","); if (getTwitterParameters() != null) sb.append("TwitterParameters: ").append(getTwitterParameters()).append(","); if (getAmazonOpenSearchParameters() != null) sb.append("AmazonOpenSearchParameters: ").append(getAmazonOpenSearchParameters()).append(","); if (getExasolParameters() != null) sb.append("ExasolParameters: ").append(getExasolParameters()).append(","); if (getDatabricksParameters() != null) sb.append("DatabricksParameters: ").append(getDatabricksParameters()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DataSourceParameters == false) return false; DataSourceParameters other = (DataSourceParameters) obj; if (other.getAmazonElasticsearchParameters() == null ^ this.getAmazonElasticsearchParameters() == null) return false; if (other.getAmazonElasticsearchParameters() != null && other.getAmazonElasticsearchParameters().equals(this.getAmazonElasticsearchParameters()) == false) return false; if (other.getAthenaParameters() == null ^ this.getAthenaParameters() == null) return false; if (other.getAthenaParameters() != null && other.getAthenaParameters().equals(this.getAthenaParameters()) == false) return false; if (other.getAuroraParameters() == null ^ this.getAuroraParameters() == null) return false; if (other.getAuroraParameters() != null && other.getAuroraParameters().equals(this.getAuroraParameters()) == false) return false; if (other.getAuroraPostgreSqlParameters() == null ^ this.getAuroraPostgreSqlParameters() == null) return false; if (other.getAuroraPostgreSqlParameters() != null && other.getAuroraPostgreSqlParameters().equals(this.getAuroraPostgreSqlParameters()) == false) return false; if (other.getAwsIotAnalyticsParameters() == null ^ this.getAwsIotAnalyticsParameters() == null) return false; if (other.getAwsIotAnalyticsParameters() != null && other.getAwsIotAnalyticsParameters().equals(this.getAwsIotAnalyticsParameters()) == false) return false; if (other.getJiraParameters() == null ^ this.getJiraParameters() == null) return false; if (other.getJiraParameters() != null && other.getJiraParameters().equals(this.getJiraParameters()) == false) return false; if (other.getMariaDbParameters() == null ^ this.getMariaDbParameters() == null) return false; if (other.getMariaDbParameters() != null && other.getMariaDbParameters().equals(this.getMariaDbParameters()) == false) return false; if (other.getMySqlParameters() == null ^ this.getMySqlParameters() == null) return false; if (other.getMySqlParameters() != null && other.getMySqlParameters().equals(this.getMySqlParameters()) == false) return false; if (other.getOracleParameters() == null ^ this.getOracleParameters() == null) return false; if (other.getOracleParameters() != null && other.getOracleParameters().equals(this.getOracleParameters()) == false) return false; if (other.getPostgreSqlParameters() == null ^ this.getPostgreSqlParameters() == null) return false; if (other.getPostgreSqlParameters() != null && other.getPostgreSqlParameters().equals(this.getPostgreSqlParameters()) == false) return false; if (other.getPrestoParameters() == null ^ this.getPrestoParameters() == null) return false; if (other.getPrestoParameters() != null && other.getPrestoParameters().equals(this.getPrestoParameters()) == false) return false; if (other.getRdsParameters() == null ^ this.getRdsParameters() == null) return false; if (other.getRdsParameters() != null && other.getRdsParameters().equals(this.getRdsParameters()) == false) return false; if (other.getRedshiftParameters() == null ^ this.getRedshiftParameters() == null) return false; if (other.getRedshiftParameters() != null && other.getRedshiftParameters().equals(this.getRedshiftParameters()) == false) return false; if (other.getS3Parameters() == null ^ this.getS3Parameters() == null) return false; if (other.getS3Parameters() != null && other.getS3Parameters().equals(this.getS3Parameters()) == false) return false; if (other.getServiceNowParameters() == null ^ this.getServiceNowParameters() == null) return false; if (other.getServiceNowParameters() != null && other.getServiceNowParameters().equals(this.getServiceNowParameters()) == false) return false; if (other.getSnowflakeParameters() == null ^ this.getSnowflakeParameters() == null) return false; if (other.getSnowflakeParameters() != null && other.getSnowflakeParameters().equals(this.getSnowflakeParameters()) == false) return false; if (other.getSparkParameters() == null ^ this.getSparkParameters() == null) return false; if (other.getSparkParameters() != null && other.getSparkParameters().equals(this.getSparkParameters()) == false) return false; if (other.getSqlServerParameters() == null ^ this.getSqlServerParameters() == null) return false; if (other.getSqlServerParameters() != null && other.getSqlServerParameters().equals(this.getSqlServerParameters()) == false) return false; if (other.getTeradataParameters() == null ^ this.getTeradataParameters() == null) return false; if (other.getTeradataParameters() != null && other.getTeradataParameters().equals(this.getTeradataParameters()) == false) return false; if (other.getTwitterParameters() == null ^ this.getTwitterParameters() == null) return false; if (other.getTwitterParameters() != null && other.getTwitterParameters().equals(this.getTwitterParameters()) == false) return false; if (other.getAmazonOpenSearchParameters() == null ^ this.getAmazonOpenSearchParameters() == null) return false; if (other.getAmazonOpenSearchParameters() != null && other.getAmazonOpenSearchParameters().equals(this.getAmazonOpenSearchParameters()) == false) return false; if (other.getExasolParameters() == null ^ this.getExasolParameters() == null) return false; if (other.getExasolParameters() != null && other.getExasolParameters().equals(this.getExasolParameters()) == false) return false; if (other.getDatabricksParameters() == null ^ this.getDatabricksParameters() == null) return false; if (other.getDatabricksParameters() != null && other.getDatabricksParameters().equals(this.getDatabricksParameters()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAmazonElasticsearchParameters() == null) ? 0 : getAmazonElasticsearchParameters().hashCode()); hashCode = prime * hashCode + ((getAthenaParameters() == null) ? 0 : getAthenaParameters().hashCode()); hashCode = prime * hashCode + ((getAuroraParameters() == null) ? 0 : getAuroraParameters().hashCode()); hashCode = prime * hashCode + ((getAuroraPostgreSqlParameters() == null) ? 0 : getAuroraPostgreSqlParameters().hashCode()); hashCode = prime * hashCode + ((getAwsIotAnalyticsParameters() == null) ? 0 : getAwsIotAnalyticsParameters().hashCode()); hashCode = prime * hashCode + ((getJiraParameters() == null) ? 0 : getJiraParameters().hashCode()); hashCode = prime * hashCode + ((getMariaDbParameters() == null) ? 0 : getMariaDbParameters().hashCode()); hashCode = prime * hashCode + ((getMySqlParameters() == null) ? 0 : getMySqlParameters().hashCode()); hashCode = prime * hashCode + ((getOracleParameters() == null) ? 0 : getOracleParameters().hashCode()); hashCode = prime * hashCode + ((getPostgreSqlParameters() == null) ? 0 : getPostgreSqlParameters().hashCode()); hashCode = prime * hashCode + ((getPrestoParameters() == null) ? 0 : getPrestoParameters().hashCode()); hashCode = prime * hashCode + ((getRdsParameters() == null) ? 0 : getRdsParameters().hashCode()); hashCode = prime * hashCode + ((getRedshiftParameters() == null) ? 0 : getRedshiftParameters().hashCode()); hashCode = prime * hashCode + ((getS3Parameters() == null) ? 0 : getS3Parameters().hashCode()); hashCode = prime * hashCode + ((getServiceNowParameters() == null) ? 0 : getServiceNowParameters().hashCode()); hashCode = prime * hashCode + ((getSnowflakeParameters() == null) ? 0 : getSnowflakeParameters().hashCode()); hashCode = prime * hashCode + ((getSparkParameters() == null) ? 0 : getSparkParameters().hashCode()); hashCode = prime * hashCode + ((getSqlServerParameters() == null) ? 0 : getSqlServerParameters().hashCode()); hashCode = prime * hashCode + ((getTeradataParameters() == null) ? 0 : getTeradataParameters().hashCode()); hashCode = prime * hashCode + ((getTwitterParameters() == null) ? 0 : getTwitterParameters().hashCode()); hashCode = prime * hashCode + ((getAmazonOpenSearchParameters() == null) ? 0 : getAmazonOpenSearchParameters().hashCode()); hashCode = prime * hashCode + ((getExasolParameters() == null) ? 0 : getExasolParameters().hashCode()); hashCode = prime * hashCode + ((getDatabricksParameters() == null) ? 0 : getDatabricksParameters().hashCode()); return hashCode; } @Override public DataSourceParameters clone() { try { return (DataSourceParameters) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.quicksight.model.transform.DataSourceParametersMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy