Interface NetworkFrameworkConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkFrameworkConfiguration.Builder,
,NetworkFrameworkConfiguration> SdkBuilder<NetworkFrameworkConfiguration.Builder,
,NetworkFrameworkConfiguration> SdkPojo
- Enclosing class:
NetworkFrameworkConfiguration
public static interface NetworkFrameworkConfiguration.Builder
extends SdkPojo, CopyableBuilder<NetworkFrameworkConfiguration.Builder,NetworkFrameworkConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionHyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.fabric
(NetworkFabricConfiguration fabric) Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
fabric
Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.
- Parameters:
fabric
- Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fabric
default NetworkFrameworkConfiguration.Builder fabric(Consumer<NetworkFabricConfiguration.Builder> fabric) Hyperledger Fabric configuration properties for a Managed Blockchain network that uses Hyperledger Fabric.
This is a convenience method that creates an instance of theNetworkFabricConfiguration.Builder
avoiding the need to create one manually viaNetworkFabricConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofabric(NetworkFabricConfiguration)
.- Parameters:
fabric
- a consumer that will call methods onNetworkFabricConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-