Class S3StorageConfig

    • Method Detail

      • s3Uri

        public final String s3Uri()

        The S3 URI, or location in Amazon S3, of OfflineStore.

        S3 URIs have a format similar to the following: s3://example-bucket/prefix/.

        Returns:
        The S3 URI, or location in Amazon S3, of OfflineStore.

        S3 URIs have a format similar to the following: s3://example-bucket/prefix/.

      • kmsKeyId

        public final String kmsKeyId()

        The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the OfflineStore S3 location.

        The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below permissions to the KmsKeyId:

        • "kms:GenerateDataKey"

        Returns:
        The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the OfflineStore S3 location.

        The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below permissions to the KmsKeyId:

        • "kms:GenerateDataKey"

      • resolvedOutputS3Uri

        public final String resolvedOutputS3Uri()

        The S3 path where offline records are written.

        Returns:
        The S3 path where offline records are written.
      • 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)