Struct aws_sdk_managedblockchain::operation::get_proposal::builders::GetProposalInputBuilder
source · #[non_exhaustive]pub struct GetProposalInputBuilder { /* private fields */ }
Expand description
A builder for GetProposalInput
.
Implementations§
source§impl GetProposalInputBuilder
impl GetProposalInputBuilder
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 for which the proposal is made.
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 for which the proposal is made.
sourcepub fn get_network_id(&self) -> &Option<String>
pub fn get_network_id(&self) -> &Option<String>
The unique identifier of the network for which the proposal is made.
sourcepub fn proposal_id(self, input: impl Into<String>) -> Self
pub fn proposal_id(self, input: impl Into<String>) -> Self
The unique identifier of the proposal.
This field is required.sourcepub fn set_proposal_id(self, input: Option<String>) -> Self
pub fn set_proposal_id(self, input: Option<String>) -> Self
The unique identifier of the proposal.
sourcepub fn get_proposal_id(&self) -> &Option<String>
pub fn get_proposal_id(&self) -> &Option<String>
The unique identifier of the proposal.
sourcepub fn build(self) -> Result<GetProposalInput, BuildError>
pub fn build(self) -> Result<GetProposalInput, BuildError>
Consumes the builder and constructs a GetProposalInput
.
source§impl GetProposalInputBuilder
impl GetProposalInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetProposalOutput, SdkError<GetProposalError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetProposalOutput, SdkError<GetProposalError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetProposalInputBuilder
impl Clone for GetProposalInputBuilder
source§fn clone(&self) -> GetProposalInputBuilder
fn clone(&self) -> GetProposalInputBuilder
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 GetProposalInputBuilder
impl Debug for GetProposalInputBuilder
source§impl Default for GetProposalInputBuilder
impl Default for GetProposalInputBuilder
source§fn default() -> GetProposalInputBuilder
fn default() -> GetProposalInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetProposalInputBuilder
impl PartialEq for GetProposalInputBuilder
source§fn eq(&self, other: &GetProposalInputBuilder) -> bool
fn eq(&self, other: &GetProposalInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetProposalInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetProposalInputBuilder
impl Send for GetProposalInputBuilder
impl Sync for GetProposalInputBuilder
impl Unpin for GetProposalInputBuilder
impl UnwindSafe for GetProposalInputBuilder
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.