Interface S3JobDefinition.Builder

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

        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:
        #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.