Struct aws_sdk_accessanalyzer::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 job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
sourcepub fn set_status(self, input: Option<JobStatus>) -> Self
pub fn set_status(self, input: Option<JobStatus>) -> Self
The status of the job request.
sourcepub fn started_on(self, input: DateTime) -> Self
pub fn started_on(self, input: DateTime) -> Self
A timestamp of when the job was started.
sourcepub fn set_started_on(self, input: Option<DateTime>) -> Self
pub fn set_started_on(self, input: Option<DateTime>) -> Self
A timestamp of when the job was started.
sourcepub fn completed_on(self, input: DateTime) -> Self
pub fn completed_on(self, input: DateTime) -> Self
A timestamp of when the job was completed.
sourcepub fn set_completed_on(self, input: Option<DateTime>) -> Self
pub fn set_completed_on(self, input: Option<DateTime>) -> Self
A timestamp of when the job was completed.
sourcepub fn job_error(self, input: JobError) -> Self
pub fn job_error(self, input: JobError) -> Self
The job error for the policy generation request.
sourcepub fn set_job_error(self, input: Option<JobError>) -> Self
pub fn set_job_error(self, input: Option<JobError>) -> Self
The job error for the policy generation request.
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 ==.