Struct aws_sdk_amplifyuibuilder::operation::start_codegen_job::builders::StartCodegenJobInputBuilder
source · #[non_exhaustive]pub struct StartCodegenJobInputBuilder { /* private fields */ }Expand description
A builder for StartCodegenJobInput.
Implementations§
source§impl StartCodegenJobInputBuilder
impl StartCodegenJobInputBuilder
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID for the Amplify app.
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 for the Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for the Amplify app.
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 that is a part of the Amplify app.
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 that is a part of the Amplify app.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the backend environment that is a part of the Amplify app.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The idempotency token used to ensure that the code generation job request completes only once.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The idempotency token used to ensure that the code generation job request completes only once.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The idempotency token used to ensure that the code generation job request completes only once.
sourcepub fn codegen_job_to_create(self, input: StartCodegenJobData) -> Self
pub fn codegen_job_to_create(self, input: StartCodegenJobData) -> Self
The code generation job resource configuration.
This field is required.sourcepub fn set_codegen_job_to_create(
self,
input: Option<StartCodegenJobData>
) -> Self
pub fn set_codegen_job_to_create( self, input: Option<StartCodegenJobData> ) -> Self
The code generation job resource configuration.
sourcepub fn get_codegen_job_to_create(&self) -> &Option<StartCodegenJobData>
pub fn get_codegen_job_to_create(&self) -> &Option<StartCodegenJobData>
The code generation job resource configuration.
sourcepub fn build(self) -> Result<StartCodegenJobInput, BuildError>
pub fn build(self) -> Result<StartCodegenJobInput, BuildError>
Consumes the builder and constructs a StartCodegenJobInput.
source§impl StartCodegenJobInputBuilder
impl StartCodegenJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartCodegenJobOutput, SdkError<StartCodegenJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartCodegenJobOutput, SdkError<StartCodegenJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartCodegenJobInputBuilder
impl Clone for StartCodegenJobInputBuilder
source§fn clone(&self) -> StartCodegenJobInputBuilder
fn clone(&self) -> StartCodegenJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartCodegenJobInputBuilder
impl Debug for StartCodegenJobInputBuilder
source§impl Default for StartCodegenJobInputBuilder
impl Default for StartCodegenJobInputBuilder
source§fn default() -> StartCodegenJobInputBuilder
fn default() -> StartCodegenJobInputBuilder
source§impl PartialEq for StartCodegenJobInputBuilder
impl PartialEq for StartCodegenJobInputBuilder
source§fn eq(&self, other: &StartCodegenJobInputBuilder) -> bool
fn eq(&self, other: &StartCodegenJobInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartCodegenJobInputBuilder
Auto Trait Implementations§
impl Freeze for StartCodegenJobInputBuilder
impl RefUnwindSafe for StartCodegenJobInputBuilder
impl Send for StartCodegenJobInputBuilder
impl Sync for StartCodegenJobInputBuilder
impl Unpin for StartCodegenJobInputBuilder
impl UnwindSafe for StartCodegenJobInputBuilder
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