Struct aws_sdk_macie2::types::builders::JobDetailsBuilder
source · #[non_exhaustive]pub struct JobDetailsBuilder { /* private fields */ }
Expand description
A builder for JobDetails
.
Implementations§
source§impl JobDetailsBuilder
impl JobDetailsBuilder
sourcepub fn is_defined_in_job(self, input: IsDefinedInJob) -> Self
pub fn is_defined_in_job(self, input: IsDefinedInJob) -> Self
Specifies whether any one-time or recurring jobs are configured to analyze data 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.
sourcepub fn set_is_defined_in_job(self, input: Option<IsDefinedInJob>) -> Self
pub fn set_is_defined_in_job(self, input: Option<IsDefinedInJob>) -> Self
Specifies whether any one-time or recurring jobs are configured to analyze data 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.
sourcepub fn get_is_defined_in_job(&self) -> &Option<IsDefinedInJob>
pub fn get_is_defined_in_job(&self) -> &Option<IsDefinedInJob>
Specifies whether any one-time or recurring jobs are configured to analyze data 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.
sourcepub fn is_monitored_by_job(self, input: IsMonitoredByJob) -> Self
pub fn is_monitored_by_job(self, input: IsMonitoredByJob) -> Self
Specifies whether any recurring jobs are configured to analyze data 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.
sourcepub fn set_is_monitored_by_job(self, input: Option<IsMonitoredByJob>) -> Self
pub fn set_is_monitored_by_job(self, input: Option<IsMonitoredByJob>) -> Self
Specifies whether any recurring jobs are configured to analyze data 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.
sourcepub fn get_is_monitored_by_job(&self) -> &Option<IsMonitoredByJob>
pub fn get_is_monitored_by_job(&self) -> &Option<IsMonitoredByJob>
Specifies whether any recurring jobs are configured to analyze data 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.
sourcepub fn last_job_id(self, input: impl Into<String>) -> Self
pub fn last_job_id(self, input: impl Into<String>) -> Self
The unique identifier for the job that ran most recently and is configured to analyze data 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.
sourcepub fn set_last_job_id(self, input: Option<String>) -> Self
pub fn set_last_job_id(self, input: Option<String>) -> Self
The unique identifier for the job that ran most recently and is configured to analyze data 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.
sourcepub fn get_last_job_id(&self) -> &Option<String>
pub fn get_last_job_id(&self) -> &Option<String>
The unique identifier for the job that ran most recently and is configured to analyze data 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.
sourcepub fn last_job_run_time(self, input: DateTime) -> Self
pub fn last_job_run_time(self, input: DateTime) -> Self
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.
sourcepub fn set_last_job_run_time(self, input: Option<DateTime>) -> Self
pub fn set_last_job_run_time(self, input: Option<DateTime>) -> Self
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.
sourcepub fn get_last_job_run_time(&self) -> &Option<DateTime>
pub fn get_last_job_run_time(&self) -> &Option<DateTime>
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.
sourcepub fn build(self) -> JobDetails
pub fn build(self) -> JobDetails
Consumes the builder and constructs a JobDetails
.
Trait Implementations§
source§impl Clone for JobDetailsBuilder
impl Clone for JobDetailsBuilder
source§fn clone(&self) -> JobDetailsBuilder
fn clone(&self) -> JobDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobDetailsBuilder
impl Debug for JobDetailsBuilder
source§impl Default for JobDetailsBuilder
impl Default for JobDetailsBuilder
source§fn default() -> JobDetailsBuilder
fn default() -> JobDetailsBuilder
source§impl PartialEq<JobDetailsBuilder> for JobDetailsBuilder
impl PartialEq<JobDetailsBuilder> for JobDetailsBuilder
source§fn eq(&self, other: &JobDetailsBuilder) -> bool
fn eq(&self, other: &JobDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.