Interface DescribeClassificationJobResponse.Builder

    • Method Detail

      • allowListIds

        DescribeClassificationJobResponse.Builder allowListIds​(Collection<String> allowListIds)

        An array of unique identifiers, one for each allow list that the job uses when it analyzes data.

        Parameters:
        allowListIds - An array of unique identifiers, one for each allow list that the job uses when it analyzes data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowListIds

        DescribeClassificationJobResponse.Builder allowListIds​(String... allowListIds)

        An array of unique identifiers, one for each allow list that the job uses when it analyzes data.

        Parameters:
        allowListIds - An array of unique identifiers, one for each allow list that the job uses when it analyzes data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        DescribeClassificationJobResponse.Builder clientToken​(String clientToken)

        The token that was provided to ensure the idempotency of the request to create the job.

        Parameters:
        clientToken - The token that was provided to ensure the idempotency of the request to create the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        DescribeClassificationJobResponse.Builder createdAt​(Instant createdAt)

        The date and time, in UTC and extended ISO 8601 format, when the job was created.

        Parameters:
        createdAt - The date and time, in UTC and extended ISO 8601 format, when the job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDataIdentifierIds

        DescribeClassificationJobResponse.Builder customDataIdentifierIds​(Collection<String> customDataIdentifierIds)

        An array of unique identifiers, one for each custom data identifier that the job uses when it analyzes data. This value is null if the job uses only managed data identifiers to analyze data.

        Parameters:
        customDataIdentifierIds - An array of unique identifiers, one for each custom data identifier that the job uses when it analyzes data. This value is null if the job uses only managed data identifiers to analyze data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDataIdentifierIds

        DescribeClassificationJobResponse.Builder customDataIdentifierIds​(String... customDataIdentifierIds)

        An array of unique identifiers, one for each custom data identifier that the job uses when it analyzes data. This value is null if the job uses only managed data identifiers to analyze data.

        Parameters:
        customDataIdentifierIds - An array of unique identifiers, one for each custom data identifier that the job uses when it analyzes data. This value is null if the job uses only managed data identifiers to analyze data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        DescribeClassificationJobResponse.Builder description​(String description)

        The custom description of the job.

        Parameters:
        description - The custom description of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • initialRun

        DescribeClassificationJobResponse.Builder initialRun​(Boolean initialRun)

        For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.

        Parameters:
        initialRun - For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobArn

        DescribeClassificationJobResponse.Builder jobArn​(String jobArn)

        The Amazon Resource Name (ARN) of the job.

        Parameters:
        jobArn - The Amazon Resource Name (ARN) of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        DescribeClassificationJobResponse.Builder jobId​(String jobId)

        The unique identifier for the job.

        Parameters:
        jobId - The unique identifier for the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobStatus

        DescribeClassificationJobResponse.Builder jobStatus​(String jobStatus)

        The current status of the job. Possible values are:

        • CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.

        • COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.

        • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

        • PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.

        • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

        • USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.

        Parameters:
        jobStatus - The current status of the job. Possible values are:

        • CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.

        • COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.

        • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

        • PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.

        • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

        • USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • jobStatus

        DescribeClassificationJobResponse.Builder jobStatus​(JobStatus jobStatus)

        The current status of the job. Possible values are:

        • CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.

        • COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.

        • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

        • PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.

        • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

        • USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.

        Parameters:
        jobStatus - The current status of the job. Possible values are:

        • CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.

        • COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.

        • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.

        • PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.

        • RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.

        • USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • jobType

        DescribeClassificationJobResponse.Builder jobType​(String jobType)

        The schedule for running the job. Possible values are:

        • ONE_TIME - The job runs only once.

        • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

        Parameters:
        jobType - The schedule for running the job. Possible values are:

        • ONE_TIME - The job runs only once.

        • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobType, JobType
      • jobType

        DescribeClassificationJobResponse.Builder jobType​(JobType jobType)

        The schedule for running the job. Possible values are:

        • ONE_TIME - The job runs only once.

        • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

        Parameters:
        jobType - The schedule for running the job. Possible values are:

        • ONE_TIME - The job runs only once.

        • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobType, JobType
      • lastRunErrorStatus

        DescribeClassificationJobResponse.Builder lastRunErrorStatus​(LastRunErrorStatus lastRunErrorStatus)

        Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.

        Parameters:
        lastRunErrorStatus - Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastRunTime

        DescribeClassificationJobResponse.Builder lastRunTime​(Instant lastRunTime)

        The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started or, if the job hasn't run yet, when the job was created.

        Parameters:
        lastRunTime - The date and time, in UTC and extended ISO 8601 format, when the job started. If the job is a recurring job, this value indicates when the most recent run started or, if the job hasn't run yet, when the job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedDataIdentifierIds

        DescribeClassificationJobResponse.Builder managedDataIdentifierIds​(Collection<String> managedDataIdentifierIds)

        An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).

        This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.

        Parameters:
        managedDataIdentifierIds - An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).

        This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedDataIdentifierIds

        DescribeClassificationJobResponse.Builder managedDataIdentifierIds​(String... managedDataIdentifierIds)

        An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).

        This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.

        Parameters:
        managedDataIdentifierIds - An array of unique identifiers, one for each managed data identifier that the job is explicitly configured to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type specified for the job (managedDataIdentifierSelector).

        This value is null if the job's managed data identifier selection type is ALL, NONE, or RECOMMENDED.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedDataIdentifierSelector

        DescribeClassificationJobResponse.Builder managedDataIdentifierSelector​(String managedDataIdentifierSelector)

        The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:

        • ALL - Use all managed data identifiers.

        • EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.

        • INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.

        • NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).

        • RECOMMENDED (default) - Use the recommended set of managed data identifiers.

        If this value is null, the job uses the recommended set of managed data identifiers.

        If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.

        For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

        Parameters:
        managedDataIdentifierSelector - The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:

        • ALL - Use all managed data identifiers.

        • EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.

        • INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.

        • NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).

        • RECOMMENDED (default) - Use the recommended set of managed data identifiers.

        If this value is null, the job uses the recommended set of managed data identifiers.

        If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.

        For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ManagedDataIdentifierSelector, ManagedDataIdentifierSelector
      • managedDataIdentifierSelector

        DescribeClassificationJobResponse.Builder managedDataIdentifierSelector​(ManagedDataIdentifierSelector managedDataIdentifierSelector)

        The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:

        • ALL - Use all managed data identifiers.

        • EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.

        • INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.

        • NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).

        • RECOMMENDED (default) - Use the recommended set of managed data identifiers.

        If this value is null, the job uses the recommended set of managed data identifiers.

        If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.

        For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

        Parameters:
        managedDataIdentifierSelector - The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:

        • ALL - Use all managed data identifiers.

        • EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.

        • INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.

        • NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).

        • RECOMMENDED (default) - Use the recommended set of managed data identifiers.

        If this value is null, the job uses the recommended set of managed data identifiers.

        If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.

        For information about individual managed data identifiers or to determine which ones are in the recommended set, see Using managed data identifiers and Recommended managed data identifiers in the Amazon Macie User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ManagedDataIdentifierSelector, ManagedDataIdentifierSelector
      • name

        DescribeClassificationJobResponse.Builder name​(String name)

        The custom name of the job.

        Parameters:
        name - The custom name of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3JobDefinition

        DescribeClassificationJobResponse.Builder s3JobDefinition​(S3JobDefinition s3JobDefinition)

        The S3 buckets that contain the objects to analyze, and the scope of that analysis.

        Parameters:
        s3JobDefinition - The S3 buckets that contain the objects to analyze, and the scope of that analysis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • samplingPercentage

        DescribeClassificationJobResponse.Builder samplingPercentage​(Integer samplingPercentage)

        The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.

        Parameters:
        samplingPercentage - The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduleFrequency

        DescribeClassificationJobResponse.Builder scheduleFrequency​(JobScheduleFrequency scheduleFrequency)

        The recurrence pattern for running the job. This value is null if the job is configured to run only once.

        Parameters:
        scheduleFrequency - The recurrence pattern for running the job. This value is null if the job is configured to run only once.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statistics

        DescribeClassificationJobResponse.Builder statistics​(Statistics statistics)

        The number of times that the job has run and processing statistics for the job's current run.

        Parameters:
        statistics - The number of times that the job has run and processing statistics for the job's current run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        DescribeClassificationJobResponse.Builder tags​(Map<String,​String> tags)

        A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.

        Parameters:
        tags - A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userPausedDetails

        DescribeClassificationJobResponse.Builder userPausedDetails​(UserPausedDetails userPausedDetails)

        If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.

        Parameters:
        userPausedDetails - If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.