Struct aws_sdk_amplifybackend::operation::create_backend_api::builders::CreateBackendApiInputBuilder
source · #[non_exhaustive]pub struct CreateBackendApiInputBuilder { /* private fields */ }
Expand description
A builder for CreateBackendApiInput
.
Implementations§
source§impl CreateBackendApiInputBuilder
impl CreateBackendApiInputBuilder
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The app ID.
sourcepub fn backend_environment_name(self, input: impl Into<String>) -> Self
pub fn backend_environment_name(self, input: impl Into<String>) -> Self
The name of the backend environment.
sourcepub fn set_backend_environment_name(self, input: Option<String>) -> Self
pub fn set_backend_environment_name(self, input: Option<String>) -> Self
The name of the backend environment.
sourcepub fn resource_config(self, input: BackendApiResourceConfig) -> Self
pub fn resource_config(self, input: BackendApiResourceConfig) -> Self
The resource configuration for this request.
sourcepub fn set_resource_config(
self,
input: Option<BackendApiResourceConfig>
) -> Self
pub fn set_resource_config( self, input: Option<BackendApiResourceConfig> ) -> Self
The resource configuration for this request.
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The name of this resource.
sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
The name of this resource.
sourcepub fn build(self) -> Result<CreateBackendApiInput, BuildError>
pub fn build(self) -> Result<CreateBackendApiInput, BuildError>
Consumes the builder and constructs a CreateBackendApiInput
.
Trait Implementations§
source§impl Clone for CreateBackendApiInputBuilder
impl Clone for CreateBackendApiInputBuilder
source§fn clone(&self) -> CreateBackendApiInputBuilder
fn clone(&self) -> CreateBackendApiInputBuilder
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 Debug for CreateBackendApiInputBuilder
impl Debug for CreateBackendApiInputBuilder
source§impl Default for CreateBackendApiInputBuilder
impl Default for CreateBackendApiInputBuilder
source§fn default() -> CreateBackendApiInputBuilder
fn default() -> CreateBackendApiInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateBackendApiInputBuilder> for CreateBackendApiInputBuilder
impl PartialEq<CreateBackendApiInputBuilder> for CreateBackendApiInputBuilder
source§fn eq(&self, other: &CreateBackendApiInputBuilder) -> bool
fn eq(&self, other: &CreateBackendApiInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.