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

com.amazonaws.services.appflow.model.SourceConnectorProperties Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.778
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.appflow.model;

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

/**
 * 

* Specifies the information that is required to query a particular connector. *

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

* Specifies the information that is required for querying Amplitude. *

*/ private AmplitudeSourceProperties amplitude; /** *

* Specifies the information that is required for querying Datadog. *

*/ private DatadogSourceProperties datadog; /** *

* Specifies the information that is required for querying Dynatrace. *

*/ private DynatraceSourceProperties dynatrace; /** *

* Specifies the information that is required for querying Google Analytics. *

*/ private GoogleAnalyticsSourceProperties googleAnalytics; /** *

* Specifies the information that is required for querying Infor Nexus. *

*/ private InforNexusSourceProperties inforNexus; /** *

* Specifies the information that is required for querying Marketo. *

*/ private MarketoSourceProperties marketo; /** *

* Specifies the information that is required for querying Amazon S3. *

*/ private S3SourceProperties s3; /** *

* Specifies the information that is required for querying Salesforce. *

*/ private SalesforceSourceProperties salesforce; /** *

* Specifies the information that is required for querying ServiceNow. *

*/ private ServiceNowSourceProperties serviceNow; /** *

* Specifies the information that is required for querying Singular. *

*/ private SingularSourceProperties singular; /** *

* Specifies the information that is required for querying Slack. *

*/ private SlackSourceProperties slack; /** *

* Specifies the information that is required for querying Trend Micro. *

*/ private TrendmicroSourceProperties trendmicro; /** *

* Specifies the information that is required for querying Veeva. *

*/ private VeevaSourceProperties veeva; /** *

* Specifies the information that is required for querying Zendesk. *

*/ private ZendeskSourceProperties zendesk; private SAPODataSourceProperties sAPOData; private CustomConnectorSourceProperties customConnector; /** *

* Specifies the information that is required for querying Salesforce Pardot. *

*/ private PardotSourceProperties pardot; /** *

* Specifies the information that is required for querying Amplitude. *

* * @param amplitude * Specifies the information that is required for querying Amplitude. */ public void setAmplitude(AmplitudeSourceProperties amplitude) { this.amplitude = amplitude; } /** *

* Specifies the information that is required for querying Amplitude. *

* * @return Specifies the information that is required for querying Amplitude. */ public AmplitudeSourceProperties getAmplitude() { return this.amplitude; } /** *

* Specifies the information that is required for querying Amplitude. *

* * @param amplitude * Specifies the information that is required for querying Amplitude. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withAmplitude(AmplitudeSourceProperties amplitude) { setAmplitude(amplitude); return this; } /** *

* Specifies the information that is required for querying Datadog. *

* * @param datadog * Specifies the information that is required for querying Datadog. */ public void setDatadog(DatadogSourceProperties datadog) { this.datadog = datadog; } /** *

* Specifies the information that is required for querying Datadog. *

* * @return Specifies the information that is required for querying Datadog. */ public DatadogSourceProperties getDatadog() { return this.datadog; } /** *

* Specifies the information that is required for querying Datadog. *

* * @param datadog * Specifies the information that is required for querying Datadog. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withDatadog(DatadogSourceProperties datadog) { setDatadog(datadog); return this; } /** *

* Specifies the information that is required for querying Dynatrace. *

* * @param dynatrace * Specifies the information that is required for querying Dynatrace. */ public void setDynatrace(DynatraceSourceProperties dynatrace) { this.dynatrace = dynatrace; } /** *

* Specifies the information that is required for querying Dynatrace. *

* * @return Specifies the information that is required for querying Dynatrace. */ public DynatraceSourceProperties getDynatrace() { return this.dynatrace; } /** *

* Specifies the information that is required for querying Dynatrace. *

* * @param dynatrace * Specifies the information that is required for querying Dynatrace. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withDynatrace(DynatraceSourceProperties dynatrace) { setDynatrace(dynatrace); return this; } /** *

* Specifies the information that is required for querying Google Analytics. *

* * @param googleAnalytics * Specifies the information that is required for querying Google Analytics. */ public void setGoogleAnalytics(GoogleAnalyticsSourceProperties googleAnalytics) { this.googleAnalytics = googleAnalytics; } /** *

* Specifies the information that is required for querying Google Analytics. *

* * @return Specifies the information that is required for querying Google Analytics. */ public GoogleAnalyticsSourceProperties getGoogleAnalytics() { return this.googleAnalytics; } /** *

* Specifies the information that is required for querying Google Analytics. *

* * @param googleAnalytics * Specifies the information that is required for querying Google Analytics. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withGoogleAnalytics(GoogleAnalyticsSourceProperties googleAnalytics) { setGoogleAnalytics(googleAnalytics); return this; } /** *

* Specifies the information that is required for querying Infor Nexus. *

* * @param inforNexus * Specifies the information that is required for querying Infor Nexus. */ public void setInforNexus(InforNexusSourceProperties inforNexus) { this.inforNexus = inforNexus; } /** *

* Specifies the information that is required for querying Infor Nexus. *

* * @return Specifies the information that is required for querying Infor Nexus. */ public InforNexusSourceProperties getInforNexus() { return this.inforNexus; } /** *

* Specifies the information that is required for querying Infor Nexus. *

* * @param inforNexus * Specifies the information that is required for querying Infor Nexus. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withInforNexus(InforNexusSourceProperties inforNexus) { setInforNexus(inforNexus); return this; } /** *

* Specifies the information that is required for querying Marketo. *

* * @param marketo * Specifies the information that is required for querying Marketo. */ public void setMarketo(MarketoSourceProperties marketo) { this.marketo = marketo; } /** *

* Specifies the information that is required for querying Marketo. *

* * @return Specifies the information that is required for querying Marketo. */ public MarketoSourceProperties getMarketo() { return this.marketo; } /** *

* Specifies the information that is required for querying Marketo. *

* * @param marketo * Specifies the information that is required for querying Marketo. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withMarketo(MarketoSourceProperties marketo) { setMarketo(marketo); return this; } /** *

* Specifies the information that is required for querying Amazon S3. *

* * @param s3 * Specifies the information that is required for querying Amazon S3. */ public void setS3(S3SourceProperties s3) { this.s3 = s3; } /** *

* Specifies the information that is required for querying Amazon S3. *

* * @return Specifies the information that is required for querying Amazon S3. */ public S3SourceProperties getS3() { return this.s3; } /** *

* Specifies the information that is required for querying Amazon S3. *

* * @param s3 * Specifies the information that is required for querying Amazon S3. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withS3(S3SourceProperties s3) { setS3(s3); return this; } /** *

* Specifies the information that is required for querying Salesforce. *

* * @param salesforce * Specifies the information that is required for querying Salesforce. */ public void setSalesforce(SalesforceSourceProperties salesforce) { this.salesforce = salesforce; } /** *

* Specifies the information that is required for querying Salesforce. *

* * @return Specifies the information that is required for querying Salesforce. */ public SalesforceSourceProperties getSalesforce() { return this.salesforce; } /** *

* Specifies the information that is required for querying Salesforce. *

* * @param salesforce * Specifies the information that is required for querying Salesforce. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withSalesforce(SalesforceSourceProperties salesforce) { setSalesforce(salesforce); return this; } /** *

* Specifies the information that is required for querying ServiceNow. *

* * @param serviceNow * Specifies the information that is required for querying ServiceNow. */ public void setServiceNow(ServiceNowSourceProperties serviceNow) { this.serviceNow = serviceNow; } /** *

* Specifies the information that is required for querying ServiceNow. *

* * @return Specifies the information that is required for querying ServiceNow. */ public ServiceNowSourceProperties getServiceNow() { return this.serviceNow; } /** *

* Specifies the information that is required for querying ServiceNow. *

* * @param serviceNow * Specifies the information that is required for querying ServiceNow. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withServiceNow(ServiceNowSourceProperties serviceNow) { setServiceNow(serviceNow); return this; } /** *

* Specifies the information that is required for querying Singular. *

* * @param singular * Specifies the information that is required for querying Singular. */ public void setSingular(SingularSourceProperties singular) { this.singular = singular; } /** *

* Specifies the information that is required for querying Singular. *

* * @return Specifies the information that is required for querying Singular. */ public SingularSourceProperties getSingular() { return this.singular; } /** *

* Specifies the information that is required for querying Singular. *

* * @param singular * Specifies the information that is required for querying Singular. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withSingular(SingularSourceProperties singular) { setSingular(singular); return this; } /** *

* Specifies the information that is required for querying Slack. *

* * @param slack * Specifies the information that is required for querying Slack. */ public void setSlack(SlackSourceProperties slack) { this.slack = slack; } /** *

* Specifies the information that is required for querying Slack. *

* * @return Specifies the information that is required for querying Slack. */ public SlackSourceProperties getSlack() { return this.slack; } /** *

* Specifies the information that is required for querying Slack. *

* * @param slack * Specifies the information that is required for querying Slack. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withSlack(SlackSourceProperties slack) { setSlack(slack); return this; } /** *

* Specifies the information that is required for querying Trend Micro. *

* * @param trendmicro * Specifies the information that is required for querying Trend Micro. */ public void setTrendmicro(TrendmicroSourceProperties trendmicro) { this.trendmicro = trendmicro; } /** *

* Specifies the information that is required for querying Trend Micro. *

* * @return Specifies the information that is required for querying Trend Micro. */ public TrendmicroSourceProperties getTrendmicro() { return this.trendmicro; } /** *

* Specifies the information that is required for querying Trend Micro. *

* * @param trendmicro * Specifies the information that is required for querying Trend Micro. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withTrendmicro(TrendmicroSourceProperties trendmicro) { setTrendmicro(trendmicro); return this; } /** *

* Specifies the information that is required for querying Veeva. *

* * @param veeva * Specifies the information that is required for querying Veeva. */ public void setVeeva(VeevaSourceProperties veeva) { this.veeva = veeva; } /** *

* Specifies the information that is required for querying Veeva. *

* * @return Specifies the information that is required for querying Veeva. */ public VeevaSourceProperties getVeeva() { return this.veeva; } /** *

* Specifies the information that is required for querying Veeva. *

* * @param veeva * Specifies the information that is required for querying Veeva. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withVeeva(VeevaSourceProperties veeva) { setVeeva(veeva); return this; } /** *

* Specifies the information that is required for querying Zendesk. *

* * @param zendesk * Specifies the information that is required for querying Zendesk. */ public void setZendesk(ZendeskSourceProperties zendesk) { this.zendesk = zendesk; } /** *

* Specifies the information that is required for querying Zendesk. *

* * @return Specifies the information that is required for querying Zendesk. */ public ZendeskSourceProperties getZendesk() { return this.zendesk; } /** *

* Specifies the information that is required for querying Zendesk. *

* * @param zendesk * Specifies the information that is required for querying Zendesk. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withZendesk(ZendeskSourceProperties zendesk) { setZendesk(zendesk); return this; } /** * @param sAPOData */ public void setSAPOData(SAPODataSourceProperties sAPOData) { this.sAPOData = sAPOData; } /** * @return */ public SAPODataSourceProperties getSAPOData() { return this.sAPOData; } /** * @param sAPOData * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withSAPOData(SAPODataSourceProperties sAPOData) { setSAPOData(sAPOData); return this; } /** * @param customConnector */ public void setCustomConnector(CustomConnectorSourceProperties customConnector) { this.customConnector = customConnector; } /** * @return */ public CustomConnectorSourceProperties getCustomConnector() { return this.customConnector; } /** * @param customConnector * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withCustomConnector(CustomConnectorSourceProperties customConnector) { setCustomConnector(customConnector); return this; } /** *

* Specifies the information that is required for querying Salesforce Pardot. *

* * @param pardot * Specifies the information that is required for querying Salesforce Pardot. */ public void setPardot(PardotSourceProperties pardot) { this.pardot = pardot; } /** *

* Specifies the information that is required for querying Salesforce Pardot. *

* * @return Specifies the information that is required for querying Salesforce Pardot. */ public PardotSourceProperties getPardot() { return this.pardot; } /** *

* Specifies the information that is required for querying Salesforce Pardot. *

* * @param pardot * Specifies the information that is required for querying Salesforce Pardot. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceConnectorProperties withPardot(PardotSourceProperties pardot) { setPardot(pardot); 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 (getAmplitude() != null) sb.append("Amplitude: ").append(getAmplitude()).append(","); if (getDatadog() != null) sb.append("Datadog: ").append(getDatadog()).append(","); if (getDynatrace() != null) sb.append("Dynatrace: ").append(getDynatrace()).append(","); if (getGoogleAnalytics() != null) sb.append("GoogleAnalytics: ").append(getGoogleAnalytics()).append(","); if (getInforNexus() != null) sb.append("InforNexus: ").append(getInforNexus()).append(","); if (getMarketo() != null) sb.append("Marketo: ").append(getMarketo()).append(","); if (getS3() != null) sb.append("S3: ").append(getS3()).append(","); if (getSalesforce() != null) sb.append("Salesforce: ").append(getSalesforce()).append(","); if (getServiceNow() != null) sb.append("ServiceNow: ").append(getServiceNow()).append(","); if (getSingular() != null) sb.append("Singular: ").append(getSingular()).append(","); if (getSlack() != null) sb.append("Slack: ").append(getSlack()).append(","); if (getTrendmicro() != null) sb.append("Trendmicro: ").append(getTrendmicro()).append(","); if (getVeeva() != null) sb.append("Veeva: ").append(getVeeva()).append(","); if (getZendesk() != null) sb.append("Zendesk: ").append(getZendesk()).append(","); if (getSAPOData() != null) sb.append("SAPOData: ").append(getSAPOData()).append(","); if (getCustomConnector() != null) sb.append("CustomConnector: ").append(getCustomConnector()).append(","); if (getPardot() != null) sb.append("Pardot: ").append(getPardot()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SourceConnectorProperties == false) return false; SourceConnectorProperties other = (SourceConnectorProperties) obj; if (other.getAmplitude() == null ^ this.getAmplitude() == null) return false; if (other.getAmplitude() != null && other.getAmplitude().equals(this.getAmplitude()) == false) return false; if (other.getDatadog() == null ^ this.getDatadog() == null) return false; if (other.getDatadog() != null && other.getDatadog().equals(this.getDatadog()) == false) return false; if (other.getDynatrace() == null ^ this.getDynatrace() == null) return false; if (other.getDynatrace() != null && other.getDynatrace().equals(this.getDynatrace()) == false) return false; if (other.getGoogleAnalytics() == null ^ this.getGoogleAnalytics() == null) return false; if (other.getGoogleAnalytics() != null && other.getGoogleAnalytics().equals(this.getGoogleAnalytics()) == false) return false; if (other.getInforNexus() == null ^ this.getInforNexus() == null) return false; if (other.getInforNexus() != null && other.getInforNexus().equals(this.getInforNexus()) == false) return false; if (other.getMarketo() == null ^ this.getMarketo() == null) return false; if (other.getMarketo() != null && other.getMarketo().equals(this.getMarketo()) == false) return false; if (other.getS3() == null ^ this.getS3() == null) return false; if (other.getS3() != null && other.getS3().equals(this.getS3()) == false) return false; if (other.getSalesforce() == null ^ this.getSalesforce() == null) return false; if (other.getSalesforce() != null && other.getSalesforce().equals(this.getSalesforce()) == false) return false; if (other.getServiceNow() == null ^ this.getServiceNow() == null) return false; if (other.getServiceNow() != null && other.getServiceNow().equals(this.getServiceNow()) == false) return false; if (other.getSingular() == null ^ this.getSingular() == null) return false; if (other.getSingular() != null && other.getSingular().equals(this.getSingular()) == false) return false; if (other.getSlack() == null ^ this.getSlack() == null) return false; if (other.getSlack() != null && other.getSlack().equals(this.getSlack()) == false) return false; if (other.getTrendmicro() == null ^ this.getTrendmicro() == null) return false; if (other.getTrendmicro() != null && other.getTrendmicro().equals(this.getTrendmicro()) == false) return false; if (other.getVeeva() == null ^ this.getVeeva() == null) return false; if (other.getVeeva() != null && other.getVeeva().equals(this.getVeeva()) == false) return false; if (other.getZendesk() == null ^ this.getZendesk() == null) return false; if (other.getZendesk() != null && other.getZendesk().equals(this.getZendesk()) == false) return false; if (other.getSAPOData() == null ^ this.getSAPOData() == null) return false; if (other.getSAPOData() != null && other.getSAPOData().equals(this.getSAPOData()) == false) return false; if (other.getCustomConnector() == null ^ this.getCustomConnector() == null) return false; if (other.getCustomConnector() != null && other.getCustomConnector().equals(this.getCustomConnector()) == false) return false; if (other.getPardot() == null ^ this.getPardot() == null) return false; if (other.getPardot() != null && other.getPardot().equals(this.getPardot()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAmplitude() == null) ? 0 : getAmplitude().hashCode()); hashCode = prime * hashCode + ((getDatadog() == null) ? 0 : getDatadog().hashCode()); hashCode = prime * hashCode + ((getDynatrace() == null) ? 0 : getDynatrace().hashCode()); hashCode = prime * hashCode + ((getGoogleAnalytics() == null) ? 0 : getGoogleAnalytics().hashCode()); hashCode = prime * hashCode + ((getInforNexus() == null) ? 0 : getInforNexus().hashCode()); hashCode = prime * hashCode + ((getMarketo() == null) ? 0 : getMarketo().hashCode()); hashCode = prime * hashCode + ((getS3() == null) ? 0 : getS3().hashCode()); hashCode = prime * hashCode + ((getSalesforce() == null) ? 0 : getSalesforce().hashCode()); hashCode = prime * hashCode + ((getServiceNow() == null) ? 0 : getServiceNow().hashCode()); hashCode = prime * hashCode + ((getSingular() == null) ? 0 : getSingular().hashCode()); hashCode = prime * hashCode + ((getSlack() == null) ? 0 : getSlack().hashCode()); hashCode = prime * hashCode + ((getTrendmicro() == null) ? 0 : getTrendmicro().hashCode()); hashCode = prime * hashCode + ((getVeeva() == null) ? 0 : getVeeva().hashCode()); hashCode = prime * hashCode + ((getZendesk() == null) ? 0 : getZendesk().hashCode()); hashCode = prime * hashCode + ((getSAPOData() == null) ? 0 : getSAPOData().hashCode()); hashCode = prime * hashCode + ((getCustomConnector() == null) ? 0 : getCustomConnector().hashCode()); hashCode = prime * hashCode + ((getPardot() == null) ? 0 : getPardot().hashCode()); return hashCode; } @Override public SourceConnectorProperties clone() { try { return (SourceConnectorProperties) 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.appflow.model.transform.SourceConnectorPropertiesMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy