Interface CreateNodeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateNodeRequest.Builder,
,CreateNodeRequest> ManagedBlockchainRequest.Builder
,SdkBuilder<CreateNodeRequest.Builder,
,CreateNodeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateNodeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.The unique identifier of the member that owns this node.The unique identifier of the network for the node.default CreateNodeRequest.Builder
nodeConfiguration
(Consumer<NodeConfiguration.Builder> nodeConfiguration) The properties of a node configuration.nodeConfiguration
(NodeConfiguration nodeConfiguration) The properties of a node configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags to assign to the node.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkId
The unique identifier of the network for the node.
Ethereum public networks have the following
NetworkId
s:-
n-ethereum-mainnet
-
n-ethereum-goerli
- Parameters:
networkId
- The unique identifier of the network for the node.Ethereum public networks have the following
NetworkId
s:-
n-ethereum-mainnet
-
n-ethereum-goerli
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
memberId
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
- Parameters:
memberId
- The unique identifier of the member that owns this node.Applies only to Hyperledger Fabric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeConfiguration
The properties of a node configuration.
- Parameters:
nodeConfiguration
- The properties of a node configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeConfiguration
default CreateNodeRequest.Builder nodeConfiguration(Consumer<NodeConfiguration.Builder> nodeConfiguration) The properties of a node configuration.
This is a convenience method that creates an instance of theNodeConfiguration.Builder
avoiding the need to create one manually viaNodeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeConfiguration(NodeConfiguration)
.- Parameters:
nodeConfiguration
- a consumer that will call methods onNodeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to assign to the node.
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.
- Parameters:
tags
- Tags to assign to the node.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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNodeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-