Interface S3JobManifestGenerator.Builder

    • Method Detail

      • expectedBucketOwner

        S3JobManifestGenerator.Builder expectedBucketOwner​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • sourceBucket

        S3JobManifestGenerator.Builder sourceBucket​(String sourceBucket)

        The source bucket used by the ManifestGenerator.

        Directory buckets - Directory buckets aren't supported as the source buckets used by S3JobManifestGenerator to generate the job manifest.

        Parameters:
        sourceBucket - The source bucket used by the ManifestGenerator.

        Directory buckets - Directory buckets aren't supported as the source buckets used by S3JobManifestGenerator to generate the job manifest.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • manifestOutputLocation

        S3JobManifestGenerator.Builder manifestOutputLocation​(S3ManifestOutputLocation manifestOutputLocation)

        Specifies the location the generated manifest will be written to. Manifests can't be written to directory buckets. For more information, see Directory buckets.

        Parameters:
        manifestOutputLocation - Specifies the location the generated manifest will be written to. Manifests can't be written to directory buckets. For more information, see Directory buckets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filter

        S3JobManifestGenerator.Builder filter​(JobManifestGeneratorFilter filter)

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

        Parameters:
        filter - Specifies rules the S3JobManifestGenerator should use to decide whether an object in the source bucket should or should not be included in the generated job manifest.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableManifestOutput

        S3JobManifestGenerator.Builder enableManifestOutput​(Boolean enableManifestOutput)

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

        Parameters:
        enableManifestOutput - Determines whether or not to write the job's generated manifest to a bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.