#[non_exhaustive]pub struct CodegenJobSummaryBuilder { /* private fields */ }Expand description
A builder for CodegenJobSummary.
Implementations§
source§impl CodegenJobSummaryBuilder
impl CodegenJobSummaryBuilder
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID of the Amplify app associated with the code generation job.
This field is required.sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID of the Amplify app associated with the code generation job.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID of the Amplify app associated with the code generation job.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the backend environment associated with the code generation job.
This field is required.sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the backend environment associated with the code generation job.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the backend environment associated with the code generation job.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique ID for the code generation job summary.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique ID for the code generation job summary.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time that the code generation job summary was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time that the code generation job summary was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time that the code generation job summary was created.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
The time that the code generation job summary was modified.
sourcepub fn set_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_modified_at(self, input: Option<DateTime>) -> Self
The time that the code generation job summary was modified.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
The time that the code generation job summary was modified.
sourcepub fn build(self) -> Result<CodegenJobSummary, BuildError>
pub fn build(self) -> Result<CodegenJobSummary, BuildError>
Consumes the builder and constructs a CodegenJobSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CodegenJobSummaryBuilder
impl Clone for CodegenJobSummaryBuilder
source§fn clone(&self) -> CodegenJobSummaryBuilder
fn clone(&self) -> CodegenJobSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CodegenJobSummaryBuilder
impl Debug for CodegenJobSummaryBuilder
source§impl Default for CodegenJobSummaryBuilder
impl Default for CodegenJobSummaryBuilder
source§fn default() -> CodegenJobSummaryBuilder
fn default() -> CodegenJobSummaryBuilder
source§impl PartialEq for CodegenJobSummaryBuilder
impl PartialEq for CodegenJobSummaryBuilder
source§fn eq(&self, other: &CodegenJobSummaryBuilder) -> bool
fn eq(&self, other: &CodegenJobSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodegenJobSummaryBuilder
Auto Trait Implementations§
impl Freeze for CodegenJobSummaryBuilder
impl RefUnwindSafe for CodegenJobSummaryBuilder
impl Send for CodegenJobSummaryBuilder
impl Sync for CodegenJobSummaryBuilder
impl Unpin for CodegenJobSummaryBuilder
impl UnwindSafe for CodegenJobSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more