Struct aws_sdk_managedblockchain::model::proposal::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for Proposal
Implementations
The unique identifier of the proposal.
The unique identifier of the proposal.
The unique identifier of the network for which the proposal is made.
The unique identifier of the network for which the proposal is made.
The description of the proposal.
The description of the proposal.
The actions to perform on the network if the proposal is APPROVED
.
The actions to perform on the network if the proposal is APPROVED
.
The unique identifier of the member that created the proposal.
The unique identifier of the member that created the proposal.
The name of the member that created the proposal.
The name of the member that created the proposal.
The status of the proposal. Values are as follows:
-
IN_PROGRESS
- The proposal is active and open for member voting. -
APPROVED
- The proposal was approved with sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out. -
REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
are not carried out. -
EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out. -
ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
The status of the proposal. Values are as follows:
-
IN_PROGRESS
- The proposal is active and open for member voting. -
APPROVED
- The proposal was approved with sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out. -
REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
are not carried out. -
EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out. -
ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.
The date and time that the proposal was created.
The date and time that the proposal was created.
The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
are not carried out.
The date and time that the proposal expires. This is the CreationDate
plus the ProposalDurationInHours
that is specified in the ProposalThresholdPolicy
. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED
and Actions
are not carried out.
The current total of YES
votes cast on the proposal by members.
The current total of YES
votes cast on the proposal by members.
The current total of NO
votes cast on the proposal by members.
The current total of NO
votes cast on the proposal by members.
The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES
votes and NO
votes.
The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES
votes and NO
votes.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags assigned to the proposal. Each tag consists of a key and optional value.
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 assigned to the proposal. Each tag consists of a key and optional value.
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.
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more