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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3JobManifestGenerator.BuilderenableManifestOutput(Boolean enableManifestOutput)Determines whether or not to write the job's generated manifest to a bucket.S3JobManifestGenerator.BuilderexpectedBucketOwner(String expectedBucketOwner)The Amazon Web Services account ID that owns the bucket the generated manifest is written to.default S3JobManifestGenerator.Builderfilter(Consumer<JobManifestGeneratorFilter.Builder> 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.S3JobManifestGenerator.Builderfilter(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.default S3JobManifestGenerator.BuildermanifestOutputLocation(Consumer<S3ManifestOutputLocation.Builder> manifestOutputLocation)Specifies the location the generated manifest will be written to.S3JobManifestGenerator.BuildermanifestOutputLocation(S3ManifestOutputLocation manifestOutputLocation)Specifies the location the generated manifest will be written to.S3JobManifestGenerator.BuildersourceBucket(String sourceBucket)The source bucket used by the ManifestGenerator.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
- Parameters:
sourceBucket- The source bucket used by the ManifestGenerator.- 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.
- Parameters:
manifestOutputLocation- Specifies the location the generated manifest will be written to.- 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.
This is a convenience method that creates an instance of theS3ManifestOutputLocation.Builderavoiding the need to create one manually viaS3ManifestOutputLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanifestOutputLocation(S3ManifestOutputLocation).- Parameters:
manifestOutputLocation- a consumer that will call methods onS3ManifestOutputLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
manifestOutputLocation(S3ManifestOutputLocation)
-
filter
S3JobManifestGenerator.Builder filter(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default S3JobManifestGenerator.Builder filter(Consumer<JobManifestGeneratorFilter.Builder> 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.
This is a convenience method that creates an instance of theJobManifestGeneratorFilter.Builderavoiding the need to create one manually viaJobManifestGeneratorFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(JobManifestGeneratorFilter).- Parameters:
filter- a consumer that will call methods onJobManifestGeneratorFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(JobManifestGeneratorFilter)
-
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.
-
-