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 Details

    • 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

      • n-ethereum-goerli

      Parameters:
      networkId - The unique identifier of the network for the node.

      Ethereum public networks have the following NetworkIds:

      • n-ethereum-mainnet

      • n-ethereum-goerli

      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 the NodeConfiguration.Builder avoiding the need to create one manually via NodeConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nodeConfiguration(NodeConfiguration).

      Parameters:
      nodeConfiguration - a consumer that will call methods on NodeConfiguration.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.