Struct aws_sdk_apigatewayv2::operation::create_deployment::builders::CreateDeploymentInputBuilder
source · #[non_exhaustive]pub struct CreateDeploymentInputBuilder { /* private fields */ }
Expand description
A builder for CreateDeploymentInput
.
Implementations§
source§impl CreateDeploymentInputBuilder
impl CreateDeploymentInputBuilder
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API identifier.
sourcepub fn get_api_id(&self) -> &Option<String>
pub fn get_api_id(&self) -> &Option<String>
The API identifier.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the deployment resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the deployment resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the deployment resource.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The name of the Stage resource for the Deployment resource to create.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The name of the Stage resource for the Deployment resource to create.
sourcepub fn get_stage_name(&self) -> &Option<String>
pub fn get_stage_name(&self) -> &Option<String>
The name of the Stage resource for the Deployment resource to create.
sourcepub fn build(self) -> Result<CreateDeploymentInput, BuildError>
pub fn build(self) -> Result<CreateDeploymentInput, BuildError>
Consumes the builder and constructs a CreateDeploymentInput
.
source§impl CreateDeploymentInputBuilder
impl CreateDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDeploymentOutput, SdkError<CreateDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDeploymentInputBuilder
impl Clone for CreateDeploymentInputBuilder
source§fn clone(&self) -> CreateDeploymentInputBuilder
fn clone(&self) -> CreateDeploymentInputBuilder
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 CreateDeploymentInputBuilder
impl Debug for CreateDeploymentInputBuilder
source§impl Default for CreateDeploymentInputBuilder
impl Default for CreateDeploymentInputBuilder
source§fn default() -> CreateDeploymentInputBuilder
fn default() -> CreateDeploymentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateDeploymentInputBuilder> for CreateDeploymentInputBuilder
impl PartialEq<CreateDeploymentInputBuilder> for CreateDeploymentInputBuilder
source§fn eq(&self, other: &CreateDeploymentInputBuilder) -> bool
fn eq(&self, other: &CreateDeploymentInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDeploymentInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateDeploymentInputBuilder
impl Send for CreateDeploymentInputBuilder
impl Sync for CreateDeploymentInputBuilder
impl Unpin for CreateDeploymentInputBuilder
impl UnwindSafe for CreateDeploymentInputBuilder
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