Class AnalyticsS3BucketDestination

    • Method Detail

      • bucketAccountId

        public final String bucketAccountId()

        The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

        Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

        Returns:
        The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.

        Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.

      • bucket

        public final String bucket()

        The Amazon Resource Name (ARN) of the bucket to which data is exported.

        Returns:
        The Amazon Resource Name (ARN) of the bucket to which data is exported.
      • prefix

        public final String prefix()

        The prefix to use when exporting data. The prefix is prepended to all results.

        Returns:
        The prefix to use when exporting data. The prefix is prepended to all results.
      • 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)