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

com.amazonaws.services.kinesisfirehose.model.ExtendedS3DestinationUpdate Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2017-2022 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.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Describes an update for a destination in Amazon S3. *

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

* The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

*/ private String roleARN; /** *

* The ARN of the S3 bucket. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

*/ private String bucketARN; /** *

* The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also specify * a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. *

*/ private String prefix; /** *

* A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This prefix * appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 * Objects. *

*/ private String errorOutputPrefix; /** *

* The buffering option. *

*/ private BufferingHints bufferingHints; /** *

* The compression format. If no value is specified, the default is UNCOMPRESSED. *

*/ private String compressionFormat; /** *

* The encryption configuration. If no value is specified, the default is no encryption. *

*/ private EncryptionConfiguration encryptionConfiguration; /** *

* The Amazon CloudWatch logging options for your delivery stream. *

*/ private CloudWatchLoggingOptions cloudWatchLoggingOptions; /** *

* The data processing configuration. *

*/ private ProcessingConfiguration processingConfiguration; /** *

* You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't * update the delivery stream to disable it. *

*/ private String s3BackupMode; /** *

* The Amazon S3 destination for backup. *

*/ private S3DestinationUpdate s3BackupUpdate; /** *

* The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format * before writing it to Amazon S3. *

*/ private DataFormatConversionConfiguration dataFormatConversionConfiguration; /** *

* The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming data by * partitioning it based on partition keys. Currently, dynamic partitioning is only supported for Amazon S3 * destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html *

*/ private DynamicPartitioningConfiguration dynamicPartitioningConfiguration; /** *

* The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

* * @param roleARN * The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names * (ARNs) and AWS Service Namespaces. */ public void setRoleARN(String roleARN) { this.roleARN = roleARN; } /** *

* The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

* * @return The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names * (ARNs) and AWS Service Namespaces. */ public String getRoleARN() { return this.roleARN; } /** *

* The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

* * @param roleARN * The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names * (ARNs) and AWS Service Namespaces. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withRoleARN(String roleARN) { setRoleARN(roleARN); return this; } /** *

* The ARN of the S3 bucket. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

* * @param bucketARN * The ARN of the S3 bucket. For more information, see Amazon Resource Names * (ARNs) and AWS Service Namespaces. */ public void setBucketARN(String bucketARN) { this.bucketARN = bucketARN; } /** *

* The ARN of the S3 bucket. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

* * @return The ARN of the S3 bucket. For more information, see Amazon Resource Names * (ARNs) and AWS Service Namespaces. */ public String getBucketARN() { return this.bucketARN; } /** *

* The ARN of the S3 bucket. For more information, see Amazon Resource Names (ARNs) * and AWS Service Namespaces. *

* * @param bucketARN * The ARN of the S3 bucket. For more information, see Amazon Resource Names * (ARNs) and AWS Service Namespaces. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withBucketARN(String bucketARN) { setBucketARN(bucketARN); return this; } /** *

* The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also specify * a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. *

* * @param prefix * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also * specify a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. */ public void setPrefix(String prefix) { this.prefix = prefix; } /** *

* The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also specify * a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. *

* * @return The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also * specify a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. */ public String getPrefix() { return this.prefix; } /** *

* The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also specify * a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. *

* * @param prefix * The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered Amazon S3 files. You can also * specify a custom prefix, as described in Custom Prefixes for Amazon S3 * Objects. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withPrefix(String prefix) { setPrefix(prefix); return this; } /** *

* A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This prefix * appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 * Objects. *

* * @param errorOutputPrefix * A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This * prefix appears immediately following the bucket name. For information about how to specify this prefix, * see Custom Prefixes for Amazon * S3 Objects. */ public void setErrorOutputPrefix(String errorOutputPrefix) { this.errorOutputPrefix = errorOutputPrefix; } /** *

* A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This prefix * appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 * Objects. *

* * @return A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This * prefix appears immediately following the bucket name. For information about how to specify this prefix, * see Custom Prefixes for Amazon * S3 Objects. */ public String getErrorOutputPrefix() { return this.errorOutputPrefix; } /** *

* A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This prefix * appears immediately following the bucket name. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 * Objects. *

* * @param errorOutputPrefix * A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This * prefix appears immediately following the bucket name. For information about how to specify this prefix, * see Custom Prefixes for Amazon * S3 Objects. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withErrorOutputPrefix(String errorOutputPrefix) { setErrorOutputPrefix(errorOutputPrefix); return this; } /** *

* The buffering option. *

* * @param bufferingHints * The buffering option. */ public void setBufferingHints(BufferingHints bufferingHints) { this.bufferingHints = bufferingHints; } /** *

* The buffering option. *

* * @return The buffering option. */ public BufferingHints getBufferingHints() { return this.bufferingHints; } /** *

* The buffering option. *

* * @param bufferingHints * The buffering option. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withBufferingHints(BufferingHints bufferingHints) { setBufferingHints(bufferingHints); return this; } /** *

* The compression format. If no value is specified, the default is UNCOMPRESSED. *

* * @param compressionFormat * The compression format. If no value is specified, the default is UNCOMPRESSED. * @see CompressionFormat */ public void setCompressionFormat(String compressionFormat) { this.compressionFormat = compressionFormat; } /** *

* The compression format. If no value is specified, the default is UNCOMPRESSED. *

* * @return The compression format. If no value is specified, the default is UNCOMPRESSED. * @see CompressionFormat */ public String getCompressionFormat() { return this.compressionFormat; } /** *

* The compression format. If no value is specified, the default is UNCOMPRESSED. *

* * @param compressionFormat * The compression format. If no value is specified, the default is UNCOMPRESSED. * @return Returns a reference to this object so that method calls can be chained together. * @see CompressionFormat */ public ExtendedS3DestinationUpdate withCompressionFormat(String compressionFormat) { setCompressionFormat(compressionFormat); return this; } /** *

* The compression format. If no value is specified, the default is UNCOMPRESSED. *

* * @param compressionFormat * The compression format. If no value is specified, the default is UNCOMPRESSED. * @see CompressionFormat */ public void setCompressionFormat(CompressionFormat compressionFormat) { withCompressionFormat(compressionFormat); } /** *

* The compression format. If no value is specified, the default is UNCOMPRESSED. *

* * @param compressionFormat * The compression format. If no value is specified, the default is UNCOMPRESSED. * @return Returns a reference to this object so that method calls can be chained together. * @see CompressionFormat */ public ExtendedS3DestinationUpdate withCompressionFormat(CompressionFormat compressionFormat) { this.compressionFormat = compressionFormat.toString(); return this; } /** *

* The encryption configuration. If no value is specified, the default is no encryption. *

* * @param encryptionConfiguration * The encryption configuration. If no value is specified, the default is no encryption. */ public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) { this.encryptionConfiguration = encryptionConfiguration; } /** *

* The encryption configuration. If no value is specified, the default is no encryption. *

* * @return The encryption configuration. If no value is specified, the default is no encryption. */ public EncryptionConfiguration getEncryptionConfiguration() { return this.encryptionConfiguration; } /** *

* The encryption configuration. If no value is specified, the default is no encryption. *

* * @param encryptionConfiguration * The encryption configuration. If no value is specified, the default is no encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) { setEncryptionConfiguration(encryptionConfiguration); return this; } /** *

* The Amazon CloudWatch logging options for your delivery stream. *

* * @param cloudWatchLoggingOptions * The Amazon CloudWatch logging options for your delivery stream. */ public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) { this.cloudWatchLoggingOptions = cloudWatchLoggingOptions; } /** *

* The Amazon CloudWatch logging options for your delivery stream. *

* * @return The Amazon CloudWatch logging options for your delivery stream. */ public CloudWatchLoggingOptions getCloudWatchLoggingOptions() { return this.cloudWatchLoggingOptions; } /** *

* The Amazon CloudWatch logging options for your delivery stream. *

* * @param cloudWatchLoggingOptions * The Amazon CloudWatch logging options for your delivery stream. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) { setCloudWatchLoggingOptions(cloudWatchLoggingOptions); return this; } /** *

* The data processing configuration. *

* * @param processingConfiguration * The data processing configuration. */ public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration) { this.processingConfiguration = processingConfiguration; } /** *

* The data processing configuration. *

* * @return The data processing configuration. */ public ProcessingConfiguration getProcessingConfiguration() { return this.processingConfiguration; } /** *

* The data processing configuration. *

* * @param processingConfiguration * The data processing configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withProcessingConfiguration(ProcessingConfiguration processingConfiguration) { setProcessingConfiguration(processingConfiguration); return this; } /** *

* You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't * update the delivery stream to disable it. *

* * @param s3BackupMode * You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you * can't update the delivery stream to disable it. * @see S3BackupMode */ public void setS3BackupMode(String s3BackupMode) { this.s3BackupMode = s3BackupMode; } /** *

* You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't * update the delivery stream to disable it. *

* * @return You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you * can't update the delivery stream to disable it. * @see S3BackupMode */ public String getS3BackupMode() { return this.s3BackupMode; } /** *

* You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't * update the delivery stream to disable it. *

* * @param s3BackupMode * You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you * can't update the delivery stream to disable it. * @return Returns a reference to this object so that method calls can be chained together. * @see S3BackupMode */ public ExtendedS3DestinationUpdate withS3BackupMode(String s3BackupMode) { setS3BackupMode(s3BackupMode); return this; } /** *

* You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't * update the delivery stream to disable it. *

* * @param s3BackupMode * You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you * can't update the delivery stream to disable it. * @see S3BackupMode */ public void setS3BackupMode(S3BackupMode s3BackupMode) { withS3BackupMode(s3BackupMode); } /** *

* You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't * update the delivery stream to disable it. *

* * @param s3BackupMode * You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you * can't update the delivery stream to disable it. * @return Returns a reference to this object so that method calls can be chained together. * @see S3BackupMode */ public ExtendedS3DestinationUpdate withS3BackupMode(S3BackupMode s3BackupMode) { this.s3BackupMode = s3BackupMode.toString(); return this; } /** *

* The Amazon S3 destination for backup. *

* * @param s3BackupUpdate * The Amazon S3 destination for backup. */ public void setS3BackupUpdate(S3DestinationUpdate s3BackupUpdate) { this.s3BackupUpdate = s3BackupUpdate; } /** *

* The Amazon S3 destination for backup. *

* * @return The Amazon S3 destination for backup. */ public S3DestinationUpdate getS3BackupUpdate() { return this.s3BackupUpdate; } /** *

* The Amazon S3 destination for backup. *

* * @param s3BackupUpdate * The Amazon S3 destination for backup. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withS3BackupUpdate(S3DestinationUpdate s3BackupUpdate) { setS3BackupUpdate(s3BackupUpdate); return this; } /** *

* The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format * before writing it to Amazon S3. *

* * @param dataFormatConversionConfiguration * The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC * format before writing it to Amazon S3. */ public void setDataFormatConversionConfiguration(DataFormatConversionConfiguration dataFormatConversionConfiguration) { this.dataFormatConversionConfiguration = dataFormatConversionConfiguration; } /** *

* The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format * before writing it to Amazon S3. *

* * @return The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC * format before writing it to Amazon S3. */ public DataFormatConversionConfiguration getDataFormatConversionConfiguration() { return this.dataFormatConversionConfiguration; } /** *

* The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format * before writing it to Amazon S3. *

* * @param dataFormatConversionConfiguration * The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC * format before writing it to Amazon S3. * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withDataFormatConversionConfiguration(DataFormatConversionConfiguration dataFormatConversionConfiguration) { setDataFormatConversionConfiguration(dataFormatConversionConfiguration); return this; } /** *

* The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming data by * partitioning it based on partition keys. Currently, dynamic partitioning is only supported for Amazon S3 * destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html *

* * @param dynamicPartitioningConfiguration * The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming * data by partitioning it based on partition keys. Currently, dynamic partitioning is only supported for * Amazon S3 destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html */ public void setDynamicPartitioningConfiguration(DynamicPartitioningConfiguration dynamicPartitioningConfiguration) { this.dynamicPartitioningConfiguration = dynamicPartitioningConfiguration; } /** *

* The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming data by * partitioning it based on partition keys. Currently, dynamic partitioning is only supported for Amazon S3 * destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html *

* * @return The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming * data by partitioning it based on partition keys. Currently, dynamic partitioning is only supported for * Amazon S3 destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html */ public DynamicPartitioningConfiguration getDynamicPartitioningConfiguration() { return this.dynamicPartitioningConfiguration; } /** *

* The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming data by * partitioning it based on partition keys. Currently, dynamic partitioning is only supported for Amazon S3 * destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html *

* * @param dynamicPartitioningConfiguration * The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming * data by partitioning it based on partition keys. Currently, dynamic partitioning is only supported for * Amazon S3 destinations. For more information, see https://docs.aws.amazon.com/firehose/latest/dev/dynamic-partitioning.html * @return Returns a reference to this object so that method calls can be chained together. */ public ExtendedS3DestinationUpdate withDynamicPartitioningConfiguration(DynamicPartitioningConfiguration dynamicPartitioningConfiguration) { setDynamicPartitioningConfiguration(dynamicPartitioningConfiguration); 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 (getRoleARN() != null) sb.append("RoleARN: ").append(getRoleARN()).append(","); if (getBucketARN() != null) sb.append("BucketARN: ").append(getBucketARN()).append(","); if (getPrefix() != null) sb.append("Prefix: ").append(getPrefix()).append(","); if (getErrorOutputPrefix() != null) sb.append("ErrorOutputPrefix: ").append(getErrorOutputPrefix()).append(","); if (getBufferingHints() != null) sb.append("BufferingHints: ").append(getBufferingHints()).append(","); if (getCompressionFormat() != null) sb.append("CompressionFormat: ").append(getCompressionFormat()).append(","); if (getEncryptionConfiguration() != null) sb.append("EncryptionConfiguration: ").append(getEncryptionConfiguration()).append(","); if (getCloudWatchLoggingOptions() != null) sb.append("CloudWatchLoggingOptions: ").append(getCloudWatchLoggingOptions()).append(","); if (getProcessingConfiguration() != null) sb.append("ProcessingConfiguration: ").append(getProcessingConfiguration()).append(","); if (getS3BackupMode() != null) sb.append("S3BackupMode: ").append(getS3BackupMode()).append(","); if (getS3BackupUpdate() != null) sb.append("S3BackupUpdate: ").append(getS3BackupUpdate()).append(","); if (getDataFormatConversionConfiguration() != null) sb.append("DataFormatConversionConfiguration: ").append(getDataFormatConversionConfiguration()).append(","); if (getDynamicPartitioningConfiguration() != null) sb.append("DynamicPartitioningConfiguration: ").append(getDynamicPartitioningConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ExtendedS3DestinationUpdate == false) return false; ExtendedS3DestinationUpdate other = (ExtendedS3DestinationUpdate) obj; if (other.getRoleARN() == null ^ this.getRoleARN() == null) return false; if (other.getRoleARN() != null && other.getRoleARN().equals(this.getRoleARN()) == false) return false; if (other.getBucketARN() == null ^ this.getBucketARN() == null) return false; if (other.getBucketARN() != null && other.getBucketARN().equals(this.getBucketARN()) == false) return false; if (other.getPrefix() == null ^ this.getPrefix() == null) return false; if (other.getPrefix() != null && other.getPrefix().equals(this.getPrefix()) == false) return false; if (other.getErrorOutputPrefix() == null ^ this.getErrorOutputPrefix() == null) return false; if (other.getErrorOutputPrefix() != null && other.getErrorOutputPrefix().equals(this.getErrorOutputPrefix()) == false) return false; if (other.getBufferingHints() == null ^ this.getBufferingHints() == null) return false; if (other.getBufferingHints() != null && other.getBufferingHints().equals(this.getBufferingHints()) == false) return false; if (other.getCompressionFormat() == null ^ this.getCompressionFormat() == null) return false; if (other.getCompressionFormat() != null && other.getCompressionFormat().equals(this.getCompressionFormat()) == false) return false; if (other.getEncryptionConfiguration() == null ^ this.getEncryptionConfiguration() == null) return false; if (other.getEncryptionConfiguration() != null && other.getEncryptionConfiguration().equals(this.getEncryptionConfiguration()) == false) return false; if (other.getCloudWatchLoggingOptions() == null ^ this.getCloudWatchLoggingOptions() == null) return false; if (other.getCloudWatchLoggingOptions() != null && other.getCloudWatchLoggingOptions().equals(this.getCloudWatchLoggingOptions()) == false) return false; if (other.getProcessingConfiguration() == null ^ this.getProcessingConfiguration() == null) return false; if (other.getProcessingConfiguration() != null && other.getProcessingConfiguration().equals(this.getProcessingConfiguration()) == false) return false; if (other.getS3BackupMode() == null ^ this.getS3BackupMode() == null) return false; if (other.getS3BackupMode() != null && other.getS3BackupMode().equals(this.getS3BackupMode()) == false) return false; if (other.getS3BackupUpdate() == null ^ this.getS3BackupUpdate() == null) return false; if (other.getS3BackupUpdate() != null && other.getS3BackupUpdate().equals(this.getS3BackupUpdate()) == false) return false; if (other.getDataFormatConversionConfiguration() == null ^ this.getDataFormatConversionConfiguration() == null) return false; if (other.getDataFormatConversionConfiguration() != null && other.getDataFormatConversionConfiguration().equals(this.getDataFormatConversionConfiguration()) == false) return false; if (other.getDynamicPartitioningConfiguration() == null ^ this.getDynamicPartitioningConfiguration() == null) return false; if (other.getDynamicPartitioningConfiguration() != null && other.getDynamicPartitioningConfiguration().equals(this.getDynamicPartitioningConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRoleARN() == null) ? 0 : getRoleARN().hashCode()); hashCode = prime * hashCode + ((getBucketARN() == null) ? 0 : getBucketARN().hashCode()); hashCode = prime * hashCode + ((getPrefix() == null) ? 0 : getPrefix().hashCode()); hashCode = prime * hashCode + ((getErrorOutputPrefix() == null) ? 0 : getErrorOutputPrefix().hashCode()); hashCode = prime * hashCode + ((getBufferingHints() == null) ? 0 : getBufferingHints().hashCode()); hashCode = prime * hashCode + ((getCompressionFormat() == null) ? 0 : getCompressionFormat().hashCode()); hashCode = prime * hashCode + ((getEncryptionConfiguration() == null) ? 0 : getEncryptionConfiguration().hashCode()); hashCode = prime * hashCode + ((getCloudWatchLoggingOptions() == null) ? 0 : getCloudWatchLoggingOptions().hashCode()); hashCode = prime * hashCode + ((getProcessingConfiguration() == null) ? 0 : getProcessingConfiguration().hashCode()); hashCode = prime * hashCode + ((getS3BackupMode() == null) ? 0 : getS3BackupMode().hashCode()); hashCode = prime * hashCode + ((getS3BackupUpdate() == null) ? 0 : getS3BackupUpdate().hashCode()); hashCode = prime * hashCode + ((getDataFormatConversionConfiguration() == null) ? 0 : getDataFormatConversionConfiguration().hashCode()); hashCode = prime * hashCode + ((getDynamicPartitioningConfiguration() == null) ? 0 : getDynamicPartitioningConfiguration().hashCode()); return hashCode; } @Override public ExtendedS3DestinationUpdate clone() { try { return (ExtendedS3DestinationUpdate) 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.kinesisfirehose.model.transform.ExtendedS3DestinationUpdateMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy