Struct aws_sdk_connect::operation::release_phone_number::builders::ReleasePhoneNumberInputBuilder
source · #[non_exhaustive]pub struct ReleasePhoneNumberInputBuilder { /* private fields */ }
Expand description
A builder for ReleasePhoneNumberInput
.
Implementations§
source§impl ReleasePhoneNumberInputBuilder
impl ReleasePhoneNumberInputBuilder
sourcepub fn phone_number_id(self, input: impl Into<String>) -> Self
pub fn phone_number_id(self, input: impl Into<String>) -> Self
A unique identifier for the phone number.
sourcepub fn set_phone_number_id(self, input: Option<String>) -> Self
pub fn set_phone_number_id(self, input: Option<String>) -> Self
A unique identifier for the phone number.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn build(self) -> Result<ReleasePhoneNumberInput, BuildError>
pub fn build(self) -> Result<ReleasePhoneNumberInput, BuildError>
Consumes the builder and constructs a ReleasePhoneNumberInput
.
Trait Implementations§
source§impl Clone for ReleasePhoneNumberInputBuilder
impl Clone for ReleasePhoneNumberInputBuilder
source§fn clone(&self) -> ReleasePhoneNumberInputBuilder
fn clone(&self) -> ReleasePhoneNumberInputBuilder
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 ReleasePhoneNumberInputBuilder
impl Default for ReleasePhoneNumberInputBuilder
source§fn default() -> ReleasePhoneNumberInputBuilder
fn default() -> ReleasePhoneNumberInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReleasePhoneNumberInputBuilder> for ReleasePhoneNumberInputBuilder
impl PartialEq<ReleasePhoneNumberInputBuilder> for ReleasePhoneNumberInputBuilder
source§fn eq(&self, other: &ReleasePhoneNumberInputBuilder) -> bool
fn eq(&self, other: &ReleasePhoneNumberInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.