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 Details

    • 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 the S3BucketCriteriaForJob.Builder avoiding the need to create one manually via S3BucketCriteriaForJob.builder().

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

      Parameters:
      bucketCriteria - a consumer that will call methods on S3BucketCriteriaForJob.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the S3BucketDefinitionForJob.Builder avoiding the need to create one manually via S3BucketDefinitionForJob.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bucketDefinitions(List<S3BucketDefinitionForJob>).

      Parameters:
      bucketDefinitions - a consumer that will call methods on S3BucketDefinitionForJob.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Scoping.Builder avoiding the need to create one manually via Scoping.builder().

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

      Parameters:
      scoping - a consumer that will call methods on Scoping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: