Struct aws_sdk_managedblockchain::operation::create_member::builders::CreateMemberInputBuilder
source · #[non_exhaustive]pub struct CreateMemberInputBuilder { /* private fields */ }
Expand description
A builder for CreateMemberInput
.
Implementations§
source§impl CreateMemberInputBuilder
impl CreateMemberInputBuilder
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
This field is required.sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
sourcepub fn invitation_id(self, input: impl Into<String>) -> Self
pub fn invitation_id(self, input: impl Into<String>) -> Self
The unique identifier of the invitation that is sent to the member to join the network.
This field is required.sourcepub fn set_invitation_id(self, input: Option<String>) -> Self
pub fn set_invitation_id(self, input: Option<String>) -> Self
The unique identifier of the invitation that is sent to the member to join the network.
sourcepub fn get_invitation_id(&self) -> &Option<String>
pub fn get_invitation_id(&self) -> &Option<String>
The unique identifier of the invitation that is sent to the member to join the network.
sourcepub fn network_id(self, input: impl Into<String>) -> Self
pub fn network_id(self, input: impl Into<String>) -> Self
The unique identifier of the network in which the member is created.
This field is required.sourcepub fn set_network_id(self, input: Option<String>) -> Self
pub fn set_network_id(self, input: Option<String>) -> Self
The unique identifier of the network in which the member is created.
sourcepub fn get_network_id(&self) -> &Option<String>
pub fn get_network_id(&self) -> &Option<String>
The unique identifier of the network in which the member is created.
sourcepub fn member_configuration(self, input: MemberConfiguration) -> Self
pub fn member_configuration(self, input: MemberConfiguration) -> Self
Member configuration parameters.
This field is required.sourcepub fn set_member_configuration(
self,
input: Option<MemberConfiguration>
) -> Self
pub fn set_member_configuration( self, input: Option<MemberConfiguration> ) -> Self
Member configuration parameters.
sourcepub fn get_member_configuration(&self) -> &Option<MemberConfiguration>
pub fn get_member_configuration(&self) -> &Option<MemberConfiguration>
Member configuration parameters.
sourcepub fn build(self) -> Result<CreateMemberInput, BuildError>
pub fn build(self) -> Result<CreateMemberInput, BuildError>
Consumes the builder and constructs a CreateMemberInput
.
source§impl CreateMemberInputBuilder
impl CreateMemberInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateMemberOutput, SdkError<CreateMemberError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateMemberOutput, SdkError<CreateMemberError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateMemberInputBuilder
impl Clone for CreateMemberInputBuilder
source§fn clone(&self) -> CreateMemberInputBuilder
fn clone(&self) -> CreateMemberInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateMemberInputBuilder
impl Debug for CreateMemberInputBuilder
source§impl Default for CreateMemberInputBuilder
impl Default for CreateMemberInputBuilder
source§fn default() -> CreateMemberInputBuilder
fn default() -> CreateMemberInputBuilder
source§impl PartialEq for CreateMemberInputBuilder
impl PartialEq for CreateMemberInputBuilder
source§fn eq(&self, other: &CreateMemberInputBuilder) -> bool
fn eq(&self, other: &CreateMemberInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateMemberInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMemberInputBuilder
impl RefUnwindSafe for CreateMemberInputBuilder
impl Send for CreateMemberInputBuilder
impl Sync for CreateMemberInputBuilder
impl Unpin for CreateMemberInputBuilder
impl UnwindSafe for CreateMemberInputBuilder
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
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>
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>
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 more