com.amazonaws.services.kinesisfirehose.model.UpdateDestinationRequest Maven / Gradle / Ivy
Show all versions of aws-java-sdk-kinesis Show documentation
/*
* 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.kinesisfirehose.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class UpdateDestinationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
/**
*
* The name of the delivery stream.
*
*/
private String deliveryStreamName;
/**
*
* Obtain this value from the VersionId
result of DeliveryStreamDescription. This value is
* required, and helps the service perform conditional operations. For example, if there is an interleaving update
* and this value is null, then the update destination fails. After the update is successful, the
* VersionId
value is updated. The service then performs a merge of the old configuration with the new
* configuration.
*
*/
private String currentDeliveryStreamVersionId;
/**
*
* The ID of the destination.
*
*/
private String destinationId;
/**
*
* [Deprecated] Describes an update for a destination in Amazon S3.
*
*/
@Deprecated
private S3DestinationUpdate s3DestinationUpdate;
/**
*
* Describes an update for a destination in Amazon S3.
*
*/
private ExtendedS3DestinationUpdate extendedS3DestinationUpdate;
/**
*
* Describes an update for a destination in Amazon Redshift.
*
*/
private RedshiftDestinationUpdate redshiftDestinationUpdate;
/**
*
* Describes an update for a destination in Amazon ES.
*
*/
private ElasticsearchDestinationUpdate elasticsearchDestinationUpdate;
/**
*
* Describes an update for a destination in Amazon OpenSearch Service.
*
*/
private AmazonopensearchserviceDestinationUpdate amazonopensearchserviceDestinationUpdate;
/**
*
* Describes an update for a destination in Splunk.
*
*/
private SplunkDestinationUpdate splunkDestinationUpdate;
/**
*
* Describes an update to the specified HTTP endpoint destination.
*
*/
private HttpEndpointDestinationUpdate httpEndpointDestinationUpdate;
/**
*
* Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*
*/
private AmazonOpenSearchServerlessDestinationUpdate amazonOpenSearchServerlessDestinationUpdate;
/**
*
* Update to the Snowflake destination configuration settings.
*
*/
private SnowflakeDestinationUpdate snowflakeDestinationUpdate;
/**
*
* Describes an update for a destination in Apache Iceberg Tables.
*
*
* Amazon Data Firehose is in preview release and is subject to change.
*
*/
private IcebergDestinationUpdate icebergDestinationUpdate;
/**
*
* The name of the delivery stream.
*
*
* @param deliveryStreamName
* The name of the delivery stream.
*/
public void setDeliveryStreamName(String deliveryStreamName) {
this.deliveryStreamName = deliveryStreamName;
}
/**
*
* The name of the delivery stream.
*
*
* @return The name of the delivery stream.
*/
public String getDeliveryStreamName() {
return this.deliveryStreamName;
}
/**
*
* The name of the delivery stream.
*
*
* @param deliveryStreamName
* The name of the delivery stream.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withDeliveryStreamName(String deliveryStreamName) {
setDeliveryStreamName(deliveryStreamName);
return this;
}
/**
*
* Obtain this value from the VersionId
result of DeliveryStreamDescription. This value is
* required, and helps the service perform conditional operations. For example, if there is an interleaving update
* and this value is null, then the update destination fails. After the update is successful, the
* VersionId
value is updated. The service then performs a merge of the old configuration with the new
* configuration.
*
*
* @param currentDeliveryStreamVersionId
* Obtain this value from the VersionId
result of DeliveryStreamDescription. This value
* is required, and helps the service perform conditional operations. For example, if there is an
* interleaving update and this value is null, then the update destination fails. After the update is
* successful, the VersionId
value is updated. The service then performs a merge of the old
* configuration with the new configuration.
*/
public void setCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId) {
this.currentDeliveryStreamVersionId = currentDeliveryStreamVersionId;
}
/**
*
* Obtain this value from the VersionId
result of DeliveryStreamDescription. This value is
* required, and helps the service perform conditional operations. For example, if there is an interleaving update
* and this value is null, then the update destination fails. After the update is successful, the
* VersionId
value is updated. The service then performs a merge of the old configuration with the new
* configuration.
*
*
* @return Obtain this value from the VersionId
result of DeliveryStreamDescription. This value
* is required, and helps the service perform conditional operations. For example, if there is an
* interleaving update and this value is null, then the update destination fails. After the update is
* successful, the VersionId
value is updated. The service then performs a merge of the old
* configuration with the new configuration.
*/
public String getCurrentDeliveryStreamVersionId() {
return this.currentDeliveryStreamVersionId;
}
/**
*
* Obtain this value from the VersionId
result of DeliveryStreamDescription. This value is
* required, and helps the service perform conditional operations. For example, if there is an interleaving update
* and this value is null, then the update destination fails. After the update is successful, the
* VersionId
value is updated. The service then performs a merge of the old configuration with the new
* configuration.
*
*
* @param currentDeliveryStreamVersionId
* Obtain this value from the VersionId
result of DeliveryStreamDescription. This value
* is required, and helps the service perform conditional operations. For example, if there is an
* interleaving update and this value is null, then the update destination fails. After the update is
* successful, the VersionId
value is updated. The service then performs a merge of the old
* configuration with the new configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withCurrentDeliveryStreamVersionId(String currentDeliveryStreamVersionId) {
setCurrentDeliveryStreamVersionId(currentDeliveryStreamVersionId);
return this;
}
/**
*
* The ID of the destination.
*
*
* @param destinationId
* The ID of the destination.
*/
public void setDestinationId(String destinationId) {
this.destinationId = destinationId;
}
/**
*
* The ID of the destination.
*
*
* @return The ID of the destination.
*/
public String getDestinationId() {
return this.destinationId;
}
/**
*
* The ID of the destination.
*
*
* @param destinationId
* The ID of the destination.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withDestinationId(String destinationId) {
setDestinationId(destinationId);
return this;
}
/**
*
* [Deprecated] Describes an update for a destination in Amazon S3.
*
*
* @param s3DestinationUpdate
* [Deprecated] Describes an update for a destination in Amazon S3.
*/
@Deprecated
public void setS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate) {
this.s3DestinationUpdate = s3DestinationUpdate;
}
/**
*
* [Deprecated] Describes an update for a destination in Amazon S3.
*
*
* @return [Deprecated] Describes an update for a destination in Amazon S3.
*/
@Deprecated
public S3DestinationUpdate getS3DestinationUpdate() {
return this.s3DestinationUpdate;
}
/**
*
* [Deprecated] Describes an update for a destination in Amazon S3.
*
*
* @param s3DestinationUpdate
* [Deprecated] Describes an update for a destination in Amazon S3.
* @return Returns a reference to this object so that method calls can be chained together.
*/
@Deprecated
public UpdateDestinationRequest withS3DestinationUpdate(S3DestinationUpdate s3DestinationUpdate) {
setS3DestinationUpdate(s3DestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in Amazon S3.
*
*
* @param extendedS3DestinationUpdate
* Describes an update for a destination in Amazon S3.
*/
public void setExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate extendedS3DestinationUpdate) {
this.extendedS3DestinationUpdate = extendedS3DestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon S3.
*
*
* @return Describes an update for a destination in Amazon S3.
*/
public ExtendedS3DestinationUpdate getExtendedS3DestinationUpdate() {
return this.extendedS3DestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon S3.
*
*
* @param extendedS3DestinationUpdate
* Describes an update for a destination in Amazon S3.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withExtendedS3DestinationUpdate(ExtendedS3DestinationUpdate extendedS3DestinationUpdate) {
setExtendedS3DestinationUpdate(extendedS3DestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in Amazon Redshift.
*
*
* @param redshiftDestinationUpdate
* Describes an update for a destination in Amazon Redshift.
*/
public void setRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate) {
this.redshiftDestinationUpdate = redshiftDestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon Redshift.
*
*
* @return Describes an update for a destination in Amazon Redshift.
*/
public RedshiftDestinationUpdate getRedshiftDestinationUpdate() {
return this.redshiftDestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon Redshift.
*
*
* @param redshiftDestinationUpdate
* Describes an update for a destination in Amazon Redshift.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withRedshiftDestinationUpdate(RedshiftDestinationUpdate redshiftDestinationUpdate) {
setRedshiftDestinationUpdate(redshiftDestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in Amazon ES.
*
*
* @param elasticsearchDestinationUpdate
* Describes an update for a destination in Amazon ES.
*/
public void setElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate) {
this.elasticsearchDestinationUpdate = elasticsearchDestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon ES.
*
*
* @return Describes an update for a destination in Amazon ES.
*/
public ElasticsearchDestinationUpdate getElasticsearchDestinationUpdate() {
return this.elasticsearchDestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon ES.
*
*
* @param elasticsearchDestinationUpdate
* Describes an update for a destination in Amazon ES.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withElasticsearchDestinationUpdate(ElasticsearchDestinationUpdate elasticsearchDestinationUpdate) {
setElasticsearchDestinationUpdate(elasticsearchDestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in Amazon OpenSearch Service.
*
*
* @param amazonopensearchserviceDestinationUpdate
* Describes an update for a destination in Amazon OpenSearch Service.
*/
public void setAmazonopensearchserviceDestinationUpdate(AmazonopensearchserviceDestinationUpdate amazonopensearchserviceDestinationUpdate) {
this.amazonopensearchserviceDestinationUpdate = amazonopensearchserviceDestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon OpenSearch Service.
*
*
* @return Describes an update for a destination in Amazon OpenSearch Service.
*/
public AmazonopensearchserviceDestinationUpdate getAmazonopensearchserviceDestinationUpdate() {
return this.amazonopensearchserviceDestinationUpdate;
}
/**
*
* Describes an update for a destination in Amazon OpenSearch Service.
*
*
* @param amazonopensearchserviceDestinationUpdate
* Describes an update for a destination in Amazon OpenSearch Service.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withAmazonopensearchserviceDestinationUpdate(
AmazonopensearchserviceDestinationUpdate amazonopensearchserviceDestinationUpdate) {
setAmazonopensearchserviceDestinationUpdate(amazonopensearchserviceDestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in Splunk.
*
*
* @param splunkDestinationUpdate
* Describes an update for a destination in Splunk.
*/
public void setSplunkDestinationUpdate(SplunkDestinationUpdate splunkDestinationUpdate) {
this.splunkDestinationUpdate = splunkDestinationUpdate;
}
/**
*
* Describes an update for a destination in Splunk.
*
*
* @return Describes an update for a destination in Splunk.
*/
public SplunkDestinationUpdate getSplunkDestinationUpdate() {
return this.splunkDestinationUpdate;
}
/**
*
* Describes an update for a destination in Splunk.
*
*
* @param splunkDestinationUpdate
* Describes an update for a destination in Splunk.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withSplunkDestinationUpdate(SplunkDestinationUpdate splunkDestinationUpdate) {
setSplunkDestinationUpdate(splunkDestinationUpdate);
return this;
}
/**
*
* Describes an update to the specified HTTP endpoint destination.
*
*
* @param httpEndpointDestinationUpdate
* Describes an update to the specified HTTP endpoint destination.
*/
public void setHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate httpEndpointDestinationUpdate) {
this.httpEndpointDestinationUpdate = httpEndpointDestinationUpdate;
}
/**
*
* Describes an update to the specified HTTP endpoint destination.
*
*
* @return Describes an update to the specified HTTP endpoint destination.
*/
public HttpEndpointDestinationUpdate getHttpEndpointDestinationUpdate() {
return this.httpEndpointDestinationUpdate;
}
/**
*
* Describes an update to the specified HTTP endpoint destination.
*
*
* @param httpEndpointDestinationUpdate
* Describes an update to the specified HTTP endpoint destination.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withHttpEndpointDestinationUpdate(HttpEndpointDestinationUpdate httpEndpointDestinationUpdate) {
setHttpEndpointDestinationUpdate(httpEndpointDestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*
*
* @param amazonOpenSearchServerlessDestinationUpdate
* Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*/
public void setAmazonOpenSearchServerlessDestinationUpdate(AmazonOpenSearchServerlessDestinationUpdate amazonOpenSearchServerlessDestinationUpdate) {
this.amazonOpenSearchServerlessDestinationUpdate = amazonOpenSearchServerlessDestinationUpdate;
}
/**
*
* Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*
*
* @return Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*/
public AmazonOpenSearchServerlessDestinationUpdate getAmazonOpenSearchServerlessDestinationUpdate() {
return this.amazonOpenSearchServerlessDestinationUpdate;
}
/**
*
* Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
*
*
* @param amazonOpenSearchServerlessDestinationUpdate
* Describes an update for a destination in the Serverless offering for Amazon OpenSearch Service.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withAmazonOpenSearchServerlessDestinationUpdate(
AmazonOpenSearchServerlessDestinationUpdate amazonOpenSearchServerlessDestinationUpdate) {
setAmazonOpenSearchServerlessDestinationUpdate(amazonOpenSearchServerlessDestinationUpdate);
return this;
}
/**
*
* Update to the Snowflake destination configuration settings.
*
*
* @param snowflakeDestinationUpdate
* Update to the Snowflake destination configuration settings.
*/
public void setSnowflakeDestinationUpdate(SnowflakeDestinationUpdate snowflakeDestinationUpdate) {
this.snowflakeDestinationUpdate = snowflakeDestinationUpdate;
}
/**
*
* Update to the Snowflake destination configuration settings.
*
*
* @return Update to the Snowflake destination configuration settings.
*/
public SnowflakeDestinationUpdate getSnowflakeDestinationUpdate() {
return this.snowflakeDestinationUpdate;
}
/**
*
* Update to the Snowflake destination configuration settings.
*
*
* @param snowflakeDestinationUpdate
* Update to the Snowflake destination configuration settings.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withSnowflakeDestinationUpdate(SnowflakeDestinationUpdate snowflakeDestinationUpdate) {
setSnowflakeDestinationUpdate(snowflakeDestinationUpdate);
return this;
}
/**
*
* Describes an update for a destination in Apache Iceberg Tables.
*
*
* Amazon Data Firehose is in preview release and is subject to change.
*
*
* @param icebergDestinationUpdate
* Describes an update for a destination in Apache Iceberg Tables.
*
* Amazon Data Firehose is in preview release and is subject to change.
*/
public void setIcebergDestinationUpdate(IcebergDestinationUpdate icebergDestinationUpdate) {
this.icebergDestinationUpdate = icebergDestinationUpdate;
}
/**
*
* Describes an update for a destination in Apache Iceberg Tables.
*
*
* Amazon Data Firehose is in preview release and is subject to change.
*
*
* @return Describes an update for a destination in Apache Iceberg Tables.
*
* Amazon Data Firehose is in preview release and is subject to change.
*/
public IcebergDestinationUpdate getIcebergDestinationUpdate() {
return this.icebergDestinationUpdate;
}
/**
*
* Describes an update for a destination in Apache Iceberg Tables.
*
*
* Amazon Data Firehose is in preview release and is subject to change.
*
*
* @param icebergDestinationUpdate
* Describes an update for a destination in Apache Iceberg Tables.
*
* Amazon Data Firehose is in preview release and is subject to change.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateDestinationRequest withIcebergDestinationUpdate(IcebergDestinationUpdate icebergDestinationUpdate) {
setIcebergDestinationUpdate(icebergDestinationUpdate);
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 (getDeliveryStreamName() != null)
sb.append("DeliveryStreamName: ").append(getDeliveryStreamName()).append(",");
if (getCurrentDeliveryStreamVersionId() != null)
sb.append("CurrentDeliveryStreamVersionId: ").append(getCurrentDeliveryStreamVersionId()).append(",");
if (getDestinationId() != null)
sb.append("DestinationId: ").append(getDestinationId()).append(",");
if (getS3DestinationUpdate() != null)
sb.append("S3DestinationUpdate: ").append(getS3DestinationUpdate()).append(",");
if (getExtendedS3DestinationUpdate() != null)
sb.append("ExtendedS3DestinationUpdate: ").append(getExtendedS3DestinationUpdate()).append(",");
if (getRedshiftDestinationUpdate() != null)
sb.append("RedshiftDestinationUpdate: ").append(getRedshiftDestinationUpdate()).append(",");
if (getElasticsearchDestinationUpdate() != null)
sb.append("ElasticsearchDestinationUpdate: ").append(getElasticsearchDestinationUpdate()).append(",");
if (getAmazonopensearchserviceDestinationUpdate() != null)
sb.append("AmazonopensearchserviceDestinationUpdate: ").append(getAmazonopensearchserviceDestinationUpdate()).append(",");
if (getSplunkDestinationUpdate() != null)
sb.append("SplunkDestinationUpdate: ").append(getSplunkDestinationUpdate()).append(",");
if (getHttpEndpointDestinationUpdate() != null)
sb.append("HttpEndpointDestinationUpdate: ").append(getHttpEndpointDestinationUpdate()).append(",");
if (getAmazonOpenSearchServerlessDestinationUpdate() != null)
sb.append("AmazonOpenSearchServerlessDestinationUpdate: ").append(getAmazonOpenSearchServerlessDestinationUpdate()).append(",");
if (getSnowflakeDestinationUpdate() != null)
sb.append("SnowflakeDestinationUpdate: ").append(getSnowflakeDestinationUpdate()).append(",");
if (getIcebergDestinationUpdate() != null)
sb.append("IcebergDestinationUpdate: ").append(getIcebergDestinationUpdate());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof UpdateDestinationRequest == false)
return false;
UpdateDestinationRequest other = (UpdateDestinationRequest) obj;
if (other.getDeliveryStreamName() == null ^ this.getDeliveryStreamName() == null)
return false;
if (other.getDeliveryStreamName() != null && other.getDeliveryStreamName().equals(this.getDeliveryStreamName()) == false)
return false;
if (other.getCurrentDeliveryStreamVersionId() == null ^ this.getCurrentDeliveryStreamVersionId() == null)
return false;
if (other.getCurrentDeliveryStreamVersionId() != null
&& other.getCurrentDeliveryStreamVersionId().equals(this.getCurrentDeliveryStreamVersionId()) == false)
return false;
if (other.getDestinationId() == null ^ this.getDestinationId() == null)
return false;
if (other.getDestinationId() != null && other.getDestinationId().equals(this.getDestinationId()) == false)
return false;
if (other.getS3DestinationUpdate() == null ^ this.getS3DestinationUpdate() == null)
return false;
if (other.getS3DestinationUpdate() != null && other.getS3DestinationUpdate().equals(this.getS3DestinationUpdate()) == false)
return false;
if (other.getExtendedS3DestinationUpdate() == null ^ this.getExtendedS3DestinationUpdate() == null)
return false;
if (other.getExtendedS3DestinationUpdate() != null && other.getExtendedS3DestinationUpdate().equals(this.getExtendedS3DestinationUpdate()) == false)
return false;
if (other.getRedshiftDestinationUpdate() == null ^ this.getRedshiftDestinationUpdate() == null)
return false;
if (other.getRedshiftDestinationUpdate() != null && other.getRedshiftDestinationUpdate().equals(this.getRedshiftDestinationUpdate()) == false)
return false;
if (other.getElasticsearchDestinationUpdate() == null ^ this.getElasticsearchDestinationUpdate() == null)
return false;
if (other.getElasticsearchDestinationUpdate() != null
&& other.getElasticsearchDestinationUpdate().equals(this.getElasticsearchDestinationUpdate()) == false)
return false;
if (other.getAmazonopensearchserviceDestinationUpdate() == null ^ this.getAmazonopensearchserviceDestinationUpdate() == null)
return false;
if (other.getAmazonopensearchserviceDestinationUpdate() != null
&& other.getAmazonopensearchserviceDestinationUpdate().equals(this.getAmazonopensearchserviceDestinationUpdate()) == false)
return false;
if (other.getSplunkDestinationUpdate() == null ^ this.getSplunkDestinationUpdate() == null)
return false;
if (other.getSplunkDestinationUpdate() != null && other.getSplunkDestinationUpdate().equals(this.getSplunkDestinationUpdate()) == false)
return false;
if (other.getHttpEndpointDestinationUpdate() == null ^ this.getHttpEndpointDestinationUpdate() == null)
return false;
if (other.getHttpEndpointDestinationUpdate() != null
&& other.getHttpEndpointDestinationUpdate().equals(this.getHttpEndpointDestinationUpdate()) == false)
return false;
if (other.getAmazonOpenSearchServerlessDestinationUpdate() == null ^ this.getAmazonOpenSearchServerlessDestinationUpdate() == null)
return false;
if (other.getAmazonOpenSearchServerlessDestinationUpdate() != null
&& other.getAmazonOpenSearchServerlessDestinationUpdate().equals(this.getAmazonOpenSearchServerlessDestinationUpdate()) == false)
return false;
if (other.getSnowflakeDestinationUpdate() == null ^ this.getSnowflakeDestinationUpdate() == null)
return false;
if (other.getSnowflakeDestinationUpdate() != null && other.getSnowflakeDestinationUpdate().equals(this.getSnowflakeDestinationUpdate()) == false)
return false;
if (other.getIcebergDestinationUpdate() == null ^ this.getIcebergDestinationUpdate() == null)
return false;
if (other.getIcebergDestinationUpdate() != null && other.getIcebergDestinationUpdate().equals(this.getIcebergDestinationUpdate()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getDeliveryStreamName() == null) ? 0 : getDeliveryStreamName().hashCode());
hashCode = prime * hashCode + ((getCurrentDeliveryStreamVersionId() == null) ? 0 : getCurrentDeliveryStreamVersionId().hashCode());
hashCode = prime * hashCode + ((getDestinationId() == null) ? 0 : getDestinationId().hashCode());
hashCode = prime * hashCode + ((getS3DestinationUpdate() == null) ? 0 : getS3DestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getExtendedS3DestinationUpdate() == null) ? 0 : getExtendedS3DestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getRedshiftDestinationUpdate() == null) ? 0 : getRedshiftDestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getElasticsearchDestinationUpdate() == null) ? 0 : getElasticsearchDestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getAmazonopensearchserviceDestinationUpdate() == null) ? 0 : getAmazonopensearchserviceDestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getSplunkDestinationUpdate() == null) ? 0 : getSplunkDestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getHttpEndpointDestinationUpdate() == null) ? 0 : getHttpEndpointDestinationUpdate().hashCode());
hashCode = prime * hashCode
+ ((getAmazonOpenSearchServerlessDestinationUpdate() == null) ? 0 : getAmazonOpenSearchServerlessDestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getSnowflakeDestinationUpdate() == null) ? 0 : getSnowflakeDestinationUpdate().hashCode());
hashCode = prime * hashCode + ((getIcebergDestinationUpdate() == null) ? 0 : getIcebergDestinationUpdate().hashCode());
return hashCode;
}
@Override
public UpdateDestinationRequest clone() {
return (UpdateDestinationRequest) super.clone();
}
}