Interface S3JobDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3JobDefinition.Builder,,S3JobDefinition> SdkBuilder<S3JobDefinition.Builder,,S3JobDefinition> SdkPojo
- Enclosing class:
S3JobDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3JobDefinition.BuilderbucketCriteria(Consumer<S3BucketCriteriaForJob.Builder> bucketCriteria) The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.bucketCriteria(S3BucketCriteriaForJob bucketCriteria) The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.bucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions) An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.bucketDefinitions(Consumer<S3BucketDefinitionForJob.Builder>... bucketDefinitions) An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.bucketDefinitions(S3BucketDefinitionForJob... bucketDefinitions) An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.default S3JobDefinition.Builderscoping(Consumer<Scoping.Builder> scoping) The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis.The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bucketCriteria
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
- Parameters:
bucketCriteria- The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketCriteria
default S3JobDefinition.Builder bucketCriteria(Consumer<S3BucketCriteriaForJob.Builder> bucketCriteria) The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
This is a convenience method that creates an instance of theS3BucketCriteriaForJob.Builderavoiding the need to create one manually viaS3BucketCriteriaForJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobucketCriteria(S3BucketCriteriaForJob).- Parameters:
bucketCriteria- a consumer that will call methods onS3BucketCriteriaForJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bucketDefinitions
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
- Parameters:
bucketDefinitions- An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketDefinitions
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
- Parameters:
bucketDefinitions- An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketDefinitions
S3JobDefinition.Builder bucketDefinitions(Consumer<S3BucketDefinitionForJob.Builder>... bucketDefinitions) An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
This is a convenience method that creates an instance of theS3BucketDefinitionForJob.Builderavoiding the need to create one manually viaS3BucketDefinitionForJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobucketDefinitions(List<S3BucketDefinitionForJob>).- Parameters:
bucketDefinitions- a consumer that will call methods onS3BucketDefinitionForJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scoping
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
- Parameters:
scoping- The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scoping
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
This is a convenience method that creates an instance of theScoping.Builderavoiding the need to create one manually viaScoping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscoping(Scoping).- Parameters:
scoping- a consumer that will call methods onScoping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-