Interface CreateNodeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNodeRequest.Builder,CreateNodeRequest>,ManagedBlockchainRequest.Builder,SdkBuilder<CreateNodeRequest.Builder,CreateNodeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateNodeRequest
public static interface CreateNodeRequest.Builder extends ManagedBlockchainRequest.Builder, SdkPojo, CopyableBuilder<CreateNodeRequest.Builder,CreateNodeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateNodeRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.CreateNodeRequest.BuildermemberId(String memberId)The unique identifier of the member that owns this node.CreateNodeRequest.BuildernetworkId(String networkId)The unique identifier of the network for the node.default CreateNodeRequest.BuildernodeConfiguration(Consumer<NodeConfiguration.Builder> nodeConfiguration)The properties of a node configuration.CreateNodeRequest.BuildernodeConfiguration(NodeConfiguration nodeConfiguration)The properties of a node configuration.CreateNodeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateNodeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateNodeRequest.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
CreateNodeRequest.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.
- 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
CreateNodeRequest.Builder networkId(String networkId)
The unique identifier of the network for the node.
Ethereum public networks have the following
NetworkIds:-
n-ethereum-mainnet
- Parameters:
networkId- The unique identifier of the network for the node.Ethereum public networks have the following
NetworkIds:-
n-ethereum-mainnet
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
memberId
CreateNodeRequest.Builder memberId(String 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
CreateNodeRequest.Builder nodeConfiguration(NodeConfiguration 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.Builderavoiding the need to create one manually viaNodeConfiguration.builder().When the
Consumercompletes,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:
nodeConfiguration(NodeConfiguration)
-
tags
CreateNodeRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-