Interface CreateNetworkRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNetworkRequest.Builder,CreateNetworkRequest>,ManagedBlockchainRequest.Builder,SdkBuilder<CreateNetworkRequest.Builder,CreateNetworkRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateNetworkRequest
public static interface CreateNetworkRequest.Builder extends ManagedBlockchainRequest.Builder, SdkPojo, CopyableBuilder<CreateNetworkRequest.Builder,CreateNetworkRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateNetworkRequest.BuilderclientRequestToken(String clientRequestToken)This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.CreateNetworkRequest.Builderdescription(String description)An optional description for the network.CreateNetworkRequest.Builderframework(String framework)The blockchain framework that the network uses.CreateNetworkRequest.Builderframework(Framework framework)The blockchain framework that the network uses.default CreateNetworkRequest.BuilderframeworkConfiguration(Consumer<NetworkFrameworkConfiguration.Builder> frameworkConfiguration)Configuration properties of the blockchain framework relevant to the network configuration.CreateNetworkRequest.BuilderframeworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)Configuration properties of the blockchain framework relevant to the network configuration.CreateNetworkRequest.BuilderframeworkVersion(String frameworkVersion)The version of the blockchain framework that the network uses.default CreateNetworkRequest.BuildermemberConfiguration(Consumer<MemberConfiguration.Builder> memberConfiguration)Configuration properties for the first member within the network.CreateNetworkRequest.BuildermemberConfiguration(MemberConfiguration memberConfiguration)Configuration properties for the first member within the network.CreateNetworkRequest.Buildername(String name)The name of the network.CreateNetworkRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateNetworkRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateNetworkRequest.Buildertags(Map<String,String> tags)Tags to assign to the network.default CreateNetworkRequest.BuildervotingPolicy(Consumer<VotingPolicy.Builder> votingPolicy)The voting rules used by the network to determine if a proposal is approved.CreateNetworkRequest.BuildervotingPolicy(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientRequestToken
CreateNetworkRequest.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.
- 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
CreateNetworkRequest.Builder name(String 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
CreateNetworkRequest.Builder description(String 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
CreateNetworkRequest.Builder framework(String framework)
The blockchain framework that the network uses.
-
framework
CreateNetworkRequest.Builder framework(Framework framework)
The blockchain framework that the network uses.
-
frameworkVersion
CreateNetworkRequest.Builder frameworkVersion(String 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.Builderavoiding the need to create one manually viaNetworkFrameworkConfiguration.builder().When the
Consumercompletes,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:
frameworkConfiguration(NetworkFrameworkConfiguration)
-
votingPolicy
CreateNetworkRequest.Builder votingPolicy(VotingPolicy 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
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.Builderavoiding the need to create one manually viaVotingPolicy.builder().When the
Consumercompletes,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:
votingPolicy(VotingPolicy)
-
memberConfiguration
CreateNetworkRequest.Builder memberConfiguration(MemberConfiguration 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.Builderavoiding the need to create one manually viaMemberConfiguration.builder().When the
Consumercompletes,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:
memberConfiguration(MemberConfiguration)
-
tags
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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNetworkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-