Struct aws_sdk_amplify::types::builders::BackendEnvironmentBuilder
source · #[non_exhaustive]pub struct BackendEnvironmentBuilder { /* private fields */ }Expand description
A builder for BackendEnvironment.
Implementations§
source§impl BackendEnvironmentBuilder
impl BackendEnvironmentBuilder
sourcepub fn backend_environment_arn(self, input: impl Into<String>) -> Self
pub fn backend_environment_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
This field is required.sourcepub fn set_backend_environment_arn(self, input: Option<String>) -> Self
pub fn set_backend_environment_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
sourcepub fn get_backend_environment_arn(&self) -> &Option<String>
pub fn get_backend_environment_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for a backend environment that is part of 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 a backend environment that is part of an 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 for a backend environment that is part of an Amplify app.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name for a backend environment that is part of an Amplify app.
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 create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The creation date and time for a backend environment that is part of an Amplify app.
This field is required.sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The creation date and time for a backend environment that is part of an Amplify app.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The creation date and time for a backend environment that is part of an Amplify app.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
The last updated date and time for a backend environment that is part of an Amplify app.
This field is required.sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
The last updated date and time for a backend environment that is part of an Amplify app.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
pub fn get_update_time(&self) -> &Option<DateTime>
The last updated date and time for a backend environment that is part of an Amplify app.
sourcepub fn build(self) -> Result<BackendEnvironment, BuildError>
pub fn build(self) -> Result<BackendEnvironment, BuildError>
Consumes the builder and constructs a BackendEnvironment.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BackendEnvironmentBuilder
impl Clone for BackendEnvironmentBuilder
source§fn clone(&self) -> BackendEnvironmentBuilder
fn clone(&self) -> BackendEnvironmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BackendEnvironmentBuilder
impl Debug for BackendEnvironmentBuilder
source§impl Default for BackendEnvironmentBuilder
impl Default for BackendEnvironmentBuilder
source§fn default() -> BackendEnvironmentBuilder
fn default() -> BackendEnvironmentBuilder
impl StructuralPartialEq for BackendEnvironmentBuilder
Auto Trait Implementations§
impl Freeze for BackendEnvironmentBuilder
impl RefUnwindSafe for BackendEnvironmentBuilder
impl Send for BackendEnvironmentBuilder
impl Sync for BackendEnvironmentBuilder
impl Unpin for BackendEnvironmentBuilder
impl UnwindSafe for BackendEnvironmentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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