Class S3Configuration

    • Method Detail

      • bucketName

        public final String bucketName()

        Name of the S3 bucket under which error reports will be created.

        Returns:
        Name of the S3 bucket under which error reports will be created.
      • objectKeyPrefix

        public final String objectKeyPrefix()

        Prefix for the error report key. Timestream by default adds the following prefix to the error report path.

        Returns:
        Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
      • encryptionOption

        public final S3EncryptionOption encryptionOption()

        Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.

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

        Returns:
        Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
        See Also:
        S3EncryptionOption
      • encryptionOptionAsString

        public final String encryptionOptionAsString()

        Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.

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

        Returns:
        Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
        See Also:
        S3EncryptionOption
      • 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)