Interface S3JobManifestGenerator.Builder

All Superinterfaces:
Buildable, CopyableBuilder<S3JobManifestGenerator.Builder,S3JobManifestGenerator>, SdkBuilder<S3JobManifestGenerator.Builder,S3JobManifestGenerator>, SdkPojo
Enclosing class:
S3JobManifestGenerator

public static interface S3JobManifestGenerator.Builder extends SdkPojo, CopyableBuilder<S3JobManifestGenerator.Builder,S3JobManifestGenerator>
  • Method Details

    • 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.
    • manifestOutputLocation

      default S3JobManifestGenerator.Builder manifestOutputLocation(Consumer<S3ManifestOutputLocation.Builder> 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.

      This is a convenience method that creates an instance of the S3ManifestOutputLocation.Builder avoiding the need to create one manually via S3ManifestOutputLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to manifestOutputLocation(S3ManifestOutputLocation).

      Parameters:
      manifestOutputLocation - a consumer that will call methods on S3ManifestOutputLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • 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.

      This is a convenience method that creates an instance of the JobManifestGeneratorFilter.Builder avoiding the need to create one manually via JobManifestGeneratorFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(JobManifestGeneratorFilter).

      Parameters:
      filter - a consumer that will call methods on JobManifestGeneratorFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.