#[non_exhaustive]pub struct DeleteAgreementInputBuilder { /* private fields */ }
Expand description
A builder for DeleteAgreementInput
.
Implementations§
source§impl DeleteAgreementInputBuilder
impl DeleteAgreementInputBuilder
sourcepub fn agreement_id(self, input: impl Into<String>) -> Self
pub fn agreement_id(self, input: impl Into<String>) -> Self
A unique identifier for the agreement. This identifier is returned when you create an agreement.
This field is required.sourcepub fn set_agreement_id(self, input: Option<String>) -> Self
pub fn set_agreement_id(self, input: Option<String>) -> Self
A unique identifier for the agreement. This identifier is returned when you create an agreement.
sourcepub fn get_agreement_id(&self) -> &Option<String>
pub fn get_agreement_id(&self) -> &Option<String>
A unique identifier for the agreement. This identifier is returned when you create an agreement.
sourcepub fn server_id(self, input: impl Into<String>) -> Self
pub fn server_id(self, input: impl Into<String>) -> Self
The server identifier associated with the agreement that you are deleting.
This field is required.sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
The server identifier associated with the agreement that you are deleting.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
The server identifier associated with the agreement that you are deleting.
sourcepub fn build(self) -> Result<DeleteAgreementInput, BuildError>
pub fn build(self) -> Result<DeleteAgreementInput, BuildError>
Consumes the builder and constructs a DeleteAgreementInput
.
source§impl DeleteAgreementInputBuilder
impl DeleteAgreementInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteAgreementOutput, SdkError<DeleteAgreementError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteAgreementOutput, SdkError<DeleteAgreementError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteAgreementInputBuilder
impl Clone for DeleteAgreementInputBuilder
source§fn clone(&self) -> DeleteAgreementInputBuilder
fn clone(&self) -> DeleteAgreementInputBuilder
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 DeleteAgreementInputBuilder
impl Debug for DeleteAgreementInputBuilder
source§impl Default for DeleteAgreementInputBuilder
impl Default for DeleteAgreementInputBuilder
source§fn default() -> DeleteAgreementInputBuilder
fn default() -> DeleteAgreementInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteAgreementInputBuilder
impl PartialEq for DeleteAgreementInputBuilder
source§fn eq(&self, other: &DeleteAgreementInputBuilder) -> bool
fn eq(&self, other: &DeleteAgreementInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteAgreementInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteAgreementInputBuilder
impl RefUnwindSafe for DeleteAgreementInputBuilder
impl Send for DeleteAgreementInputBuilder
impl Sync for DeleteAgreementInputBuilder
impl Unpin for DeleteAgreementInputBuilder
impl UnwindSafe for DeleteAgreementInputBuilder
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.