Struct aws_sdk_amplify::operation::create_backend_environment::builders::CreateBackendEnvironmentInputBuilder
source · #[non_exhaustive]pub struct CreateBackendEnvironmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateBackendEnvironmentInput
.
Implementations§
source§impl CreateBackendEnvironmentInputBuilder
impl CreateBackendEnvironmentInputBuilder
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID for an 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 an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name for the backend environment.
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 for the backend environment.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name for the backend environment.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The AWS CloudFormation stack name of a backend environment.
sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The AWS CloudFormation stack name of a backend environment.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The AWS CloudFormation stack name of a backend environment.
sourcepub fn deployment_artifacts(self, input: impl Into<String>) -> Self
pub fn deployment_artifacts(self, input: impl Into<String>) -> Self
The name of deployment artifacts.
sourcepub fn set_deployment_artifacts(self, input: Option<String>) -> Self
pub fn set_deployment_artifacts(self, input: Option<String>) -> Self
The name of deployment artifacts.
sourcepub fn get_deployment_artifacts(&self) -> &Option<String>
pub fn get_deployment_artifacts(&self) -> &Option<String>
The name of deployment artifacts.
sourcepub fn build(self) -> Result<CreateBackendEnvironmentInput, BuildError>
pub fn build(self) -> Result<CreateBackendEnvironmentInput, BuildError>
Consumes the builder and constructs a CreateBackendEnvironmentInput
.
source§impl CreateBackendEnvironmentInputBuilder
impl CreateBackendEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateBackendEnvironmentOutput, SdkError<CreateBackendEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateBackendEnvironmentOutput, SdkError<CreateBackendEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateBackendEnvironmentInputBuilder
impl Clone for CreateBackendEnvironmentInputBuilder
source§fn clone(&self) -> CreateBackendEnvironmentInputBuilder
fn clone(&self) -> CreateBackendEnvironmentInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateBackendEnvironmentInputBuilder
impl Default for CreateBackendEnvironmentInputBuilder
source§fn default() -> CreateBackendEnvironmentInputBuilder
fn default() -> CreateBackendEnvironmentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateBackendEnvironmentInputBuilder
impl PartialEq for CreateBackendEnvironmentInputBuilder
source§fn eq(&self, other: &CreateBackendEnvironmentInputBuilder) -> bool
fn eq(&self, other: &CreateBackendEnvironmentInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateBackendEnvironmentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateBackendEnvironmentInputBuilder
impl RefUnwindSafe for CreateBackendEnvironmentInputBuilder
impl Send for CreateBackendEnvironmentInputBuilder
impl Sync for CreateBackendEnvironmentInputBuilder
impl Unpin for CreateBackendEnvironmentInputBuilder
impl UnwindSafe for CreateBackendEnvironmentInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.