Class S3JobManifestGenerator

    • Method Detail

      • expectedBucketOwner

        public final String expectedBucketOwner()

        The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails.

        Returns:
        The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails.
      • sourceBucket

        public final String sourceBucket()

        The source bucket used by the ManifestGenerator.

        Returns:
        The source bucket used by the ManifestGenerator.
      • manifestOutputLocation

        public final S3ManifestOutputLocation manifestOutputLocation()

        Specifies the location the generated manifest will be written to.

        Returns:
        Specifies the location the generated manifest will be written to.
      • filter

        public final JobManifestGeneratorFilter filter()

        Specifies rules the S3JobManifestGenerator should use to use to decide whether an object in the source bucket should or should not be included in the generated job manifest.

        Returns:
        Specifies rules the S3JobManifestGenerator should use to use to decide whether an object in the source bucket should or should not be included in the generated job manifest.
      • enableManifestOutput

        public final Boolean enableManifestOutput()

        Determines whether or not to write the job's generated manifest to a bucket.

        Returns:
        Determines whether or not to write the job's generated manifest to a bucket.
      • 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)