Interface CreateNetworkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateNetworkRequest.Builder,
,CreateNetworkRequest> ManagedBlockchainRequest.Builder
,SdkBuilder<CreateNetworkRequest.Builder,
,CreateNetworkRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateNetworkRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.description
(String description) An optional description for the network.The blockchain framework that the network uses.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.frameworkConfiguration
(NetworkFrameworkConfiguration frameworkConfiguration) Configuration properties of the blockchain framework relevant to the network configuration.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.memberConfiguration
(MemberConfiguration memberConfiguration) Configuration properties for the first member within the network.The name of the network.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 network.default CreateNetworkRequest.Builder
votingPolicy
(Consumer<VotingPolicy.Builder> votingPolicy) The voting rules used by the network to determine if a proposal is approved.votingPolicy
(VotingPolicy votingPolicy) The voting rules used by the network to determine if a proposal is approved.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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the network.
- Parameters:
name
- The name of the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description for the network.
- Parameters:
description
- An optional description for the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
framework
The blockchain framework that the network uses.
- Parameters:
framework
- The blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
framework
The blockchain framework that the network uses.
- Parameters:
framework
- The blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameworkVersion
The version of the blockchain framework that the network uses.
- Parameters:
frameworkVersion
- The version of the blockchain framework that the network uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkConfiguration
CreateNetworkRequest.Builder frameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration) Configuration properties of the blockchain framework relevant to the network configuration.
- Parameters:
frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the network configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameworkConfiguration
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 viaNetworkFrameworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeworkConfiguration(NetworkFrameworkConfiguration)
.- Parameters:
frameworkConfiguration
- a consumer that will call methods onNetworkFrameworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
votingPolicy
The voting rules used by the network to determine if a proposal is approved.
- Parameters:
votingPolicy
- The voting rules used by the network to determine if a proposal is approved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaVotingPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovotingPolicy(VotingPolicy)
.- Parameters:
votingPolicy
- a consumer that will call methods onVotingPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberConfiguration
Configuration properties for the first member within the network.
- Parameters:
memberConfiguration
- Configuration properties for the first member within the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberConfiguration
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 viaMemberConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemberConfiguration(MemberConfiguration)
.- Parameters:
memberConfiguration
- a consumer that will call methods onMemberConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNetworkRequest.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
CreateNetworkRequest.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.
-