Class S3DestinationUpdate

    • Method Detail

      • prefix

        public final String 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.

        Returns:
        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.
      • errorOutputPrefix

        public final String errorOutputPrefix()

        A prefix that 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.

        Returns:
        A prefix that 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.
      • bufferingHints

        public final BufferingHints bufferingHints()

        The buffering option. If no value is specified, BufferingHints object default values are used.

        Returns:
        The buffering option. If no value is specified, BufferingHints object default values are used.
      • compressionFormat

        public final CompressionFormat compressionFormat()

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

        The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

        If the service returns an enum value that is not available in the current SDK version, compressionFormat will return CompressionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from compressionFormatAsString().

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

        The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

        See Also:
        CompressionFormat
      • compressionFormatAsString

        public final String compressionFormatAsString()

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

        The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

        If the service returns an enum value that is not available in the current SDK version, compressionFormat will return CompressionFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from compressionFormatAsString().

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

        The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift destinations because they are not supported by the Amazon Redshift COPY operation that reads from the S3 bucket.

        See Also:
        CompressionFormat
      • encryptionConfiguration

        public final EncryptionConfiguration encryptionConfiguration()

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

        Returns:
        The encryption configuration. If no value is specified, the default is no encryption.
      • cloudWatchLoggingOptions

        public final CloudWatchLoggingOptions cloudWatchLoggingOptions()

        The CloudWatch logging options for your delivery stream.

        Returns:
        The CloudWatch logging options for your delivery stream.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)