Interface S3JobDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3JobDefinition.Builder,S3JobDefinition>,SdkBuilder<S3JobDefinition.Builder,S3JobDefinition>,SdkPojo
- Enclosing class:
- S3JobDefinition
public static interface S3JobDefinition.Builder extends SdkPojo, CopyableBuilder<S3JobDefinition.Builder,S3JobDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3JobDefinition.BuilderbucketCriteria(Consumer<S3BucketCriteriaForJob.Builder> bucketCriteria)The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.S3JobDefinition.BuilderbucketCriteria(S3BucketCriteriaForJob bucketCriteria)The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis.S3JobDefinition.BuilderbucketDefinitions(Collection<S3BucketDefinitionForJob> bucketDefinitions)An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.S3JobDefinition.BuilderbucketDefinitions(Consumer<S3BucketDefinitionForJob.Builder>... bucketDefinitions)An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze.S3JobDefinition.BuilderbucketDefinitions(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.S3JobDefinition.Builderscoping(Scoping scoping)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
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
-
bucketCriteria
S3JobDefinition.Builder bucketCriteria(S3BucketCriteriaForJob 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:
bucketCriteria(S3BucketCriteriaForJob)
-
bucketDefinitions
S3JobDefinition.Builder bucketDefinitions(Collection<S3BucketDefinitionForJob> 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(S3BucketDefinitionForJob... 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 to#bucketDefinitions(List.) - 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:
#bucketDefinitions(java.util.Collection)
-
scoping
S3JobDefinition.Builder scoping(Scoping 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
default S3JobDefinition.Builder scoping(Consumer<Scoping.Builder> 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:
scoping(Scoping)
-
-