Struct aws_sdk_managedblockchain::operation::create_proposal::builders::CreateProposalInputBuilder
source · #[non_exhaustive]pub struct CreateProposalInputBuilder { /* private fields */ }
Expand description
A builder for CreateProposalInput
.
Implementations§
source§impl CreateProposalInputBuilder
impl CreateProposalInputBuilder
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.
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 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.
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 member_id(self, input: impl Into<String>) -> Self
pub fn member_id(self, input: impl Into<String>) -> Self
The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single Amazon Web Services account.
sourcepub fn set_member_id(self, input: Option<String>) -> Self
pub fn set_member_id(self, input: Option<String>) -> Self
The unique identifier of the member that is creating the proposal. This identifier is especially useful for identifying the member making the proposal when multiple members exist in a single Amazon Web Services account.
sourcepub fn actions(self, input: ProposalActions) -> Self
pub fn actions(self, input: ProposalActions) -> Self
The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations
actions cannot also contain Removals
actions.
sourcepub fn set_actions(self, input: Option<ProposalActions>) -> Self
pub fn set_actions(self, input: Option<ProposalActions>) -> Self
The type of actions proposed, such as inviting a member or removing a member. The types of Actions
in a proposal are mutually exclusive. For example, a proposal with Invitations
actions cannot also contain Removals
actions.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags to assign to the proposal.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Tags to assign to the proposal.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
sourcepub fn build(self) -> Result<CreateProposalInput, BuildError>
pub fn build(self) -> Result<CreateProposalInput, BuildError>
Consumes the builder and constructs a CreateProposalInput
.
Trait Implementations§
source§impl Clone for CreateProposalInputBuilder
impl Clone for CreateProposalInputBuilder
source§fn clone(&self) -> CreateProposalInputBuilder
fn clone(&self) -> CreateProposalInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateProposalInputBuilder
impl Debug for CreateProposalInputBuilder
source§impl Default for CreateProposalInputBuilder
impl Default for CreateProposalInputBuilder
source§fn default() -> CreateProposalInputBuilder
fn default() -> CreateProposalInputBuilder
source§impl PartialEq<CreateProposalInputBuilder> for CreateProposalInputBuilder
impl PartialEq<CreateProposalInputBuilder> for CreateProposalInputBuilder
source§fn eq(&self, other: &CreateProposalInputBuilder) -> bool
fn eq(&self, other: &CreateProposalInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.