Interface JobDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JobDetails.Builder,JobDetails>, SdkBuilder<JobDetails.Builder,JobDetails>, SdkPojo
Enclosing class:
JobDetails

public static interface JobDetails.Builder extends SdkPojo, CopyableBuilder<JobDetails.Builder,JobDetails>
  • Method Details

    • isDefinedInJob

      JobDetails.Builder isDefinedInJob(String isDefinedInJob)

      Specifies whether any one-time or recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

      Parameters:
      isDefinedInJob - Specifies whether any one-time or recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

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

      JobDetails.Builder isDefinedInJob(IsDefinedInJob isDefinedInJob)

      Specifies whether any one-time or recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

      Parameters:
      isDefinedInJob - Specifies whether any one-time or recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

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

      JobDetails.Builder isMonitoredByJob(String isMonitoredByJob)

      Specifies whether any recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

      Parameters:
      isMonitoredByJob - Specifies whether any recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

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

      JobDetails.Builder isMonitoredByJob(IsMonitoredByJob isMonitoredByJob)

      Specifies whether any recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

      Parameters:
      isMonitoredByJob - Specifies whether any recurring jobs are configured to analyze objects in the bucket. Possible values are:

      • TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.

      • FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.

      • UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.

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

      JobDetails.Builder lastJobId(String lastJobId)

      The unique identifier for the job that ran most recently and is configured to analyze objects in the bucket, either the latest run of a recurring job or the only run of a one-time job.

      This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

      Parameters:
      lastJobId - The unique identifier for the job that ran most recently and is configured to analyze objects in the bucket, either the latest run of a recurring job or the only run of a one-time job.

      This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

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

      JobDetails.Builder lastJobRunTime(Instant lastJobRunTime)

      The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.

      This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

      Parameters:
      lastJobRunTime - The date and time, in UTC and extended ISO 8601 format, when the job (lastJobId) started. If the job is a recurring job, this value indicates when the most recent run started.

      This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.

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