Struct aws_sdk_proton::operation::cancel_service_instance_deployment::builders::CancelServiceInstanceDeploymentInputBuilder
source · #[non_exhaustive]pub struct CancelServiceInstanceDeploymentInputBuilder { /* private fields */ }Expand description
A builder for CancelServiceInstanceDeploymentInput.
Implementations§
source§impl CancelServiceInstanceDeploymentInputBuilder
impl CancelServiceInstanceDeploymentInputBuilder
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of the service instance with the deployment to cancel.
This field is required.sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of the service instance with the deployment to cancel.
sourcepub fn get_service_instance_name(&self) -> &Option<String>
pub fn get_service_instance_name(&self) -> &Option<String>
The name of the service instance with the deployment to cancel.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service with the service instance deployment to cancel.
This field is required.sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service with the service instance deployment to cancel.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service with the service instance deployment to cancel.
sourcepub fn build(self) -> Result<CancelServiceInstanceDeploymentInput, BuildError>
pub fn build(self) -> Result<CancelServiceInstanceDeploymentInput, BuildError>
Consumes the builder and constructs a CancelServiceInstanceDeploymentInput.
source§impl CancelServiceInstanceDeploymentInputBuilder
impl CancelServiceInstanceDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelServiceInstanceDeploymentOutput, SdkError<CancelServiceInstanceDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelServiceInstanceDeploymentOutput, SdkError<CancelServiceInstanceDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelServiceInstanceDeploymentInputBuilder
impl Clone for CancelServiceInstanceDeploymentInputBuilder
source§fn clone(&self) -> CancelServiceInstanceDeploymentInputBuilder
fn clone(&self) -> CancelServiceInstanceDeploymentInputBuilder
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 CancelServiceInstanceDeploymentInputBuilder
impl Default for CancelServiceInstanceDeploymentInputBuilder
source§fn default() -> CancelServiceInstanceDeploymentInputBuilder
fn default() -> CancelServiceInstanceDeploymentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelServiceInstanceDeploymentInputBuilder
impl PartialEq for CancelServiceInstanceDeploymentInputBuilder
source§fn eq(&self, other: &CancelServiceInstanceDeploymentInputBuilder) -> bool
fn eq(&self, other: &CancelServiceInstanceDeploymentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CancelServiceInstanceDeploymentInputBuilder
Auto Trait Implementations§
impl Freeze for CancelServiceInstanceDeploymentInputBuilder
impl RefUnwindSafe for CancelServiceInstanceDeploymentInputBuilder
impl Send for CancelServiceInstanceDeploymentInputBuilder
impl Sync for CancelServiceInstanceDeploymentInputBuilder
impl Unpin for CancelServiceInstanceDeploymentInputBuilder
impl UnwindSafe for CancelServiceInstanceDeploymentInputBuilder
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>
Creates a shared type from an unshared type.