public static interface CreateNetworkRequest.Builder extends ManagedBlockchainRequest.Builder, SdkPojo, CopyableBuilder<CreateNetworkRequest.Builder,CreateNetworkRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateNetworkRequest.Builder |
clientRequestToken(String clientRequestToken)
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
CreateNetworkRequest.Builder |
description(String description)
An optional description for the network.
|
CreateNetworkRequest.Builder |
framework(Framework framework)
The blockchain framework that the network uses.
|
CreateNetworkRequest.Builder |
framework(String framework)
The blockchain framework that the network uses.
|
default CreateNetworkRequest.Builder |
frameworkConfiguration(Consumer<NetworkFrameworkConfiguration.Builder> frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
|
CreateNetworkRequest.Builder |
frameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
|
CreateNetworkRequest.Builder |
frameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
|
default CreateNetworkRequest.Builder |
memberConfiguration(Consumer<MemberConfiguration.Builder> memberConfiguration)
Configuration properties for the first member within the network.
|
CreateNetworkRequest.Builder |
memberConfiguration(MemberConfiguration memberConfiguration)
Configuration properties for the first member within the network.
|
CreateNetworkRequest.Builder |
name(String name)
The name of the network.
|
CreateNetworkRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateNetworkRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateNetworkRequest.Builder |
tags(Map<String,String> tags)
Tags to assign to the network.
|
default CreateNetworkRequest.Builder |
votingPolicy(Consumer<VotingPolicy.Builder> votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
|
CreateNetworkRequest.Builder |
votingPolicy(VotingPolicy votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateNetworkRequest.Builder clientRequestToken(String clientRequestToken)
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. 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 Amazon Web Services CLI.
clientRequestToken - This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the
operation. An idempotent operation completes no more than once. 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 Amazon Web Services CLI.CreateNetworkRequest.Builder name(String name)
The name of the network.
name - The name of the network.CreateNetworkRequest.Builder description(String description)
An optional description for the network.
description - An optional description for the network.CreateNetworkRequest.Builder framework(String framework)
The blockchain framework that the network uses.
CreateNetworkRequest.Builder framework(Framework framework)
The blockchain framework that the network uses.
CreateNetworkRequest.Builder frameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
frameworkVersion - The version of the blockchain framework that the network uses.CreateNetworkRequest.Builder frameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
frameworkConfiguration - Configuration properties of the blockchain framework relevant to the network configuration.default CreateNetworkRequest.Builder frameworkConfiguration(Consumer<NetworkFrameworkConfiguration.Builder> frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
This is a convenience method that creates an instance of theNetworkFrameworkConfiguration.Builder
avoiding the need to create one manually via NetworkFrameworkConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to frameworkConfiguration(NetworkFrameworkConfiguration).
frameworkConfiguration - a consumer that will call methods on NetworkFrameworkConfiguration.BuilderframeworkConfiguration(NetworkFrameworkConfiguration)CreateNetworkRequest.Builder votingPolicy(VotingPolicy votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
votingPolicy - The voting rules used by the network to determine if a proposal is approved.default CreateNetworkRequest.Builder votingPolicy(Consumer<VotingPolicy.Builder> votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
This is a convenience method that creates an instance of theVotingPolicy.Builder avoiding the need
to create one manually via VotingPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to votingPolicy(VotingPolicy).
votingPolicy - a consumer that will call methods on VotingPolicy.BuildervotingPolicy(VotingPolicy)CreateNetworkRequest.Builder memberConfiguration(MemberConfiguration memberConfiguration)
Configuration properties for the first member within the network.
memberConfiguration - Configuration properties for the first member within the network.default CreateNetworkRequest.Builder memberConfiguration(Consumer<MemberConfiguration.Builder> memberConfiguration)
Configuration properties for the first member within the network.
This is a convenience method that creates an instance of theMemberConfiguration.Builder avoiding the
need to create one manually via MemberConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to memberConfiguration(MemberConfiguration).
memberConfiguration - a consumer that will call methods on MemberConfiguration.BuildermemberConfiguration(MemberConfiguration)CreateNetworkRequest.Builder tags(Map<String,String> tags)
Tags to assign to the network.
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 network.
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.
CreateNetworkRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateNetworkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.