public static interface CreateProposalRequest.Builder extends ManagedBlockchainRequest.Builder, SdkPojo, CopyableBuilder<CreateProposalRequest.Builder,CreateProposalRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateProposalRequest.Builder |
actions(Consumer<ProposalActions.Builder> actions)
The type of actions proposed, such as inviting a member or removing a member.
|
CreateProposalRequest.Builder |
actions(ProposalActions actions)
The type of actions proposed, such as inviting a member or removing a member.
|
CreateProposalRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
CreateProposalRequest.Builder |
description(String description)
A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp.
|
CreateProposalRequest.Builder |
memberId(String memberId)
The unique identifier of the member that is creating the proposal.
|
CreateProposalRequest.Builder |
networkId(String networkId)
The unique identifier of the network for which the proposal is made.
|
CreateProposalRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateProposalRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateProposalRequest.Builder |
tags(Map<String,String> tags)
Tags to assign to the proposal.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateProposalRequest.Builder clientRequestToken(String clientRequestToken)
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.
clientRequestToken - 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.CreateProposalRequest.Builder networkId(String networkId)
The unique identifier of the network for which the proposal is made.
networkId - The unique identifier of the network for which the proposal is made.CreateProposalRequest.Builder memberId(String memberId)
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.
memberId - 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.CreateProposalRequest.Builder actions(ProposalActions actions)
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.
actions - 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.default CreateProposalRequest.Builder actions(Consumer<ProposalActions.Builder> actions)
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.
ProposalActions.Builder avoiding the
need to create one manually via ProposalActions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to actions(ProposalActions).
actions - a consumer that will call methods on ProposalActions.Builderactions(ProposalActions)CreateProposalRequest.Builder description(String description)
A description for the proposal that is visible to voting members, for example, "Proposal to add Example Corp. as member."
description - A description for the proposal that is visible to voting members, for example,
"Proposal to add Example Corp. as member."CreateProposalRequest.Builder tags(Map<String,String> 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 - 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.
CreateProposalRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateProposalRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.