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

com.amazonaws.services.appflow.model.DestinationConnectorProperties 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;

/**
 * 

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

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

* The properties required to query Amazon Redshift. *

*/ private RedshiftDestinationProperties redshift; /** *

* The properties required to query Amazon S3. *

*/ private S3DestinationProperties s3; /** *

* The properties required to query Salesforce. *

*/ private SalesforceDestinationProperties salesforce; /** *

* The properties required to query Snowflake. *

*/ private SnowflakeDestinationProperties snowflake; /** *

* The properties required to query Amazon EventBridge. *

*/ private EventBridgeDestinationProperties eventBridge; /** *

* The properties required to query Amazon Lookout for Metrics. *

*/ private LookoutMetricsDestinationProperties lookoutMetrics; /** *

* The properties required to query Upsolver. *

*/ private UpsolverDestinationProperties upsolver; /** *

* The properties required to query Amazon Honeycode. *

*/ private HoneycodeDestinationProperties honeycode; /** *

* The properties required to query Amazon Connect Customer Profiles. *

*/ private CustomerProfilesDestinationProperties customerProfiles; /** *

* The properties required to query Zendesk. *

*/ private ZendeskDestinationProperties zendesk; /** *

* The properties required to query Marketo. *

*/ private MarketoDestinationProperties marketo; /** *

* The properties that are required to query the custom Connector. *

*/ private CustomConnectorDestinationProperties customConnector; /** *

* The properties required to query SAPOData. *

*/ private SAPODataDestinationProperties sAPOData; /** *

* The properties required to query Amazon Redshift. *

* * @param redshift * The properties required to query Amazon Redshift. */ public void setRedshift(RedshiftDestinationProperties redshift) { this.redshift = redshift; } /** *

* The properties required to query Amazon Redshift. *

* * @return The properties required to query Amazon Redshift. */ public RedshiftDestinationProperties getRedshift() { return this.redshift; } /** *

* The properties required to query Amazon Redshift. *

* * @param redshift * The properties required to query Amazon Redshift. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withRedshift(RedshiftDestinationProperties redshift) { setRedshift(redshift); return this; } /** *

* The properties required to query Amazon S3. *

* * @param s3 * The properties required to query Amazon S3. */ public void setS3(S3DestinationProperties s3) { this.s3 = s3; } /** *

* The properties required to query Amazon S3. *

* * @return The properties required to query Amazon S3. */ public S3DestinationProperties getS3() { return this.s3; } /** *

* The properties required to query Amazon S3. *

* * @param s3 * The properties required to query Amazon S3. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withS3(S3DestinationProperties s3) { setS3(s3); return this; } /** *

* The properties required to query Salesforce. *

* * @param salesforce * The properties required to query Salesforce. */ public void setSalesforce(SalesforceDestinationProperties salesforce) { this.salesforce = salesforce; } /** *

* The properties required to query Salesforce. *

* * @return The properties required to query Salesforce. */ public SalesforceDestinationProperties getSalesforce() { return this.salesforce; } /** *

* The properties required to query Salesforce. *

* * @param salesforce * The properties required to query Salesforce. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withSalesforce(SalesforceDestinationProperties salesforce) { setSalesforce(salesforce); return this; } /** *

* The properties required to query Snowflake. *

* * @param snowflake * The properties required to query Snowflake. */ public void setSnowflake(SnowflakeDestinationProperties snowflake) { this.snowflake = snowflake; } /** *

* The properties required to query Snowflake. *

* * @return The properties required to query Snowflake. */ public SnowflakeDestinationProperties getSnowflake() { return this.snowflake; } /** *

* The properties required to query Snowflake. *

* * @param snowflake * The properties required to query Snowflake. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withSnowflake(SnowflakeDestinationProperties snowflake) { setSnowflake(snowflake); return this; } /** *

* The properties required to query Amazon EventBridge. *

* * @param eventBridge * The properties required to query Amazon EventBridge. */ public void setEventBridge(EventBridgeDestinationProperties eventBridge) { this.eventBridge = eventBridge; } /** *

* The properties required to query Amazon EventBridge. *

* * @return The properties required to query Amazon EventBridge. */ public EventBridgeDestinationProperties getEventBridge() { return this.eventBridge; } /** *

* The properties required to query Amazon EventBridge. *

* * @param eventBridge * The properties required to query Amazon EventBridge. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withEventBridge(EventBridgeDestinationProperties eventBridge) { setEventBridge(eventBridge); return this; } /** *

* The properties required to query Amazon Lookout for Metrics. *

* * @param lookoutMetrics * The properties required to query Amazon Lookout for Metrics. */ public void setLookoutMetrics(LookoutMetricsDestinationProperties lookoutMetrics) { this.lookoutMetrics = lookoutMetrics; } /** *

* The properties required to query Amazon Lookout for Metrics. *

* * @return The properties required to query Amazon Lookout for Metrics. */ public LookoutMetricsDestinationProperties getLookoutMetrics() { return this.lookoutMetrics; } /** *

* The properties required to query Amazon Lookout for Metrics. *

* * @param lookoutMetrics * The properties required to query Amazon Lookout for Metrics. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withLookoutMetrics(LookoutMetricsDestinationProperties lookoutMetrics) { setLookoutMetrics(lookoutMetrics); return this; } /** *

* The properties required to query Upsolver. *

* * @param upsolver * The properties required to query Upsolver. */ public void setUpsolver(UpsolverDestinationProperties upsolver) { this.upsolver = upsolver; } /** *

* The properties required to query Upsolver. *

* * @return The properties required to query Upsolver. */ public UpsolverDestinationProperties getUpsolver() { return this.upsolver; } /** *

* The properties required to query Upsolver. *

* * @param upsolver * The properties required to query Upsolver. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withUpsolver(UpsolverDestinationProperties upsolver) { setUpsolver(upsolver); return this; } /** *

* The properties required to query Amazon Honeycode. *

* * @param honeycode * The properties required to query Amazon Honeycode. */ public void setHoneycode(HoneycodeDestinationProperties honeycode) { this.honeycode = honeycode; } /** *

* The properties required to query Amazon Honeycode. *

* * @return The properties required to query Amazon Honeycode. */ public HoneycodeDestinationProperties getHoneycode() { return this.honeycode; } /** *

* The properties required to query Amazon Honeycode. *

* * @param honeycode * The properties required to query Amazon Honeycode. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withHoneycode(HoneycodeDestinationProperties honeycode) { setHoneycode(honeycode); return this; } /** *

* The properties required to query Amazon Connect Customer Profiles. *

* * @param customerProfiles * The properties required to query Amazon Connect Customer Profiles. */ public void setCustomerProfiles(CustomerProfilesDestinationProperties customerProfiles) { this.customerProfiles = customerProfiles; } /** *

* The properties required to query Amazon Connect Customer Profiles. *

* * @return The properties required to query Amazon Connect Customer Profiles. */ public CustomerProfilesDestinationProperties getCustomerProfiles() { return this.customerProfiles; } /** *

* The properties required to query Amazon Connect Customer Profiles. *

* * @param customerProfiles * The properties required to query Amazon Connect Customer Profiles. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withCustomerProfiles(CustomerProfilesDestinationProperties customerProfiles) { setCustomerProfiles(customerProfiles); return this; } /** *

* The properties required to query Zendesk. *

* * @param zendesk * The properties required to query Zendesk. */ public void setZendesk(ZendeskDestinationProperties zendesk) { this.zendesk = zendesk; } /** *

* The properties required to query Zendesk. *

* * @return The properties required to query Zendesk. */ public ZendeskDestinationProperties getZendesk() { return this.zendesk; } /** *

* The properties required to query Zendesk. *

* * @param zendesk * The properties required to query Zendesk. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withZendesk(ZendeskDestinationProperties zendesk) { setZendesk(zendesk); return this; } /** *

* The properties required to query Marketo. *

* * @param marketo * The properties required to query Marketo. */ public void setMarketo(MarketoDestinationProperties marketo) { this.marketo = marketo; } /** *

* The properties required to query Marketo. *

* * @return The properties required to query Marketo. */ public MarketoDestinationProperties getMarketo() { return this.marketo; } /** *

* The properties required to query Marketo. *

* * @param marketo * The properties required to query Marketo. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withMarketo(MarketoDestinationProperties marketo) { setMarketo(marketo); return this; } /** *

* The properties that are required to query the custom Connector. *

* * @param customConnector * The properties that are required to query the custom Connector. */ public void setCustomConnector(CustomConnectorDestinationProperties customConnector) { this.customConnector = customConnector; } /** *

* The properties that are required to query the custom Connector. *

* * @return The properties that are required to query the custom Connector. */ public CustomConnectorDestinationProperties getCustomConnector() { return this.customConnector; } /** *

* The properties that are required to query the custom Connector. *

* * @param customConnector * The properties that are required to query the custom Connector. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withCustomConnector(CustomConnectorDestinationProperties customConnector) { setCustomConnector(customConnector); return this; } /** *

* The properties required to query SAPOData. *

* * @param sAPOData * The properties required to query SAPOData. */ public void setSAPOData(SAPODataDestinationProperties sAPOData) { this.sAPOData = sAPOData; } /** *

* The properties required to query SAPOData. *

* * @return The properties required to query SAPOData. */ public SAPODataDestinationProperties getSAPOData() { return this.sAPOData; } /** *

* The properties required to query SAPOData. *

* * @param sAPOData * The properties required to query SAPOData. * @return Returns a reference to this object so that method calls can be chained together. */ public DestinationConnectorProperties withSAPOData(SAPODataDestinationProperties sAPOData) { setSAPOData(sAPOData); 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 (getRedshift() != null) sb.append("Redshift: ").append(getRedshift()).append(","); if (getS3() != null) sb.append("S3: ").append(getS3()).append(","); if (getSalesforce() != null) sb.append("Salesforce: ").append(getSalesforce()).append(","); if (getSnowflake() != null) sb.append("Snowflake: ").append(getSnowflake()).append(","); if (getEventBridge() != null) sb.append("EventBridge: ").append(getEventBridge()).append(","); if (getLookoutMetrics() != null) sb.append("LookoutMetrics: ").append(getLookoutMetrics()).append(","); if (getUpsolver() != null) sb.append("Upsolver: ").append(getUpsolver()).append(","); if (getHoneycode() != null) sb.append("Honeycode: ").append(getHoneycode()).append(","); if (getCustomerProfiles() != null) sb.append("CustomerProfiles: ").append(getCustomerProfiles()).append(","); if (getZendesk() != null) sb.append("Zendesk: ").append(getZendesk()).append(","); if (getMarketo() != null) sb.append("Marketo: ").append(getMarketo()).append(","); if (getCustomConnector() != null) sb.append("CustomConnector: ").append(getCustomConnector()).append(","); if (getSAPOData() != null) sb.append("SAPOData: ").append(getSAPOData()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DestinationConnectorProperties == false) return false; DestinationConnectorProperties other = (DestinationConnectorProperties) obj; if (other.getRedshift() == null ^ this.getRedshift() == null) return false; if (other.getRedshift() != null && other.getRedshift().equals(this.getRedshift()) == 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.getSnowflake() == null ^ this.getSnowflake() == null) return false; if (other.getSnowflake() != null && other.getSnowflake().equals(this.getSnowflake()) == false) return false; if (other.getEventBridge() == null ^ this.getEventBridge() == null) return false; if (other.getEventBridge() != null && other.getEventBridge().equals(this.getEventBridge()) == false) return false; if (other.getLookoutMetrics() == null ^ this.getLookoutMetrics() == null) return false; if (other.getLookoutMetrics() != null && other.getLookoutMetrics().equals(this.getLookoutMetrics()) == false) return false; if (other.getUpsolver() == null ^ this.getUpsolver() == null) return false; if (other.getUpsolver() != null && other.getUpsolver().equals(this.getUpsolver()) == false) return false; if (other.getHoneycode() == null ^ this.getHoneycode() == null) return false; if (other.getHoneycode() != null && other.getHoneycode().equals(this.getHoneycode()) == false) return false; if (other.getCustomerProfiles() == null ^ this.getCustomerProfiles() == null) return false; if (other.getCustomerProfiles() != null && other.getCustomerProfiles().equals(this.getCustomerProfiles()) == 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.getMarketo() == null ^ this.getMarketo() == null) return false; if (other.getMarketo() != null && other.getMarketo().equals(this.getMarketo()) == 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.getSAPOData() == null ^ this.getSAPOData() == null) return false; if (other.getSAPOData() != null && other.getSAPOData().equals(this.getSAPOData()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRedshift() == null) ? 0 : getRedshift().hashCode()); hashCode = prime * hashCode + ((getS3() == null) ? 0 : getS3().hashCode()); hashCode = prime * hashCode + ((getSalesforce() == null) ? 0 : getSalesforce().hashCode()); hashCode = prime * hashCode + ((getSnowflake() == null) ? 0 : getSnowflake().hashCode()); hashCode = prime * hashCode + ((getEventBridge() == null) ? 0 : getEventBridge().hashCode()); hashCode = prime * hashCode + ((getLookoutMetrics() == null) ? 0 : getLookoutMetrics().hashCode()); hashCode = prime * hashCode + ((getUpsolver() == null) ? 0 : getUpsolver().hashCode()); hashCode = prime * hashCode + ((getHoneycode() == null) ? 0 : getHoneycode().hashCode()); hashCode = prime * hashCode + ((getCustomerProfiles() == null) ? 0 : getCustomerProfiles().hashCode()); hashCode = prime * hashCode + ((getZendesk() == null) ? 0 : getZendesk().hashCode()); hashCode = prime * hashCode + ((getMarketo() == null) ? 0 : getMarketo().hashCode()); hashCode = prime * hashCode + ((getCustomConnector() == null) ? 0 : getCustomConnector().hashCode()); hashCode = prime * hashCode + ((getSAPOData() == null) ? 0 : getSAPOData().hashCode()); return hashCode; } @Override public DestinationConnectorProperties clone() { try { return (DestinationConnectorProperties) 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.DestinationConnectorPropertiesMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy