Interface NodeFabricLogPublishingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeFabricLogPublishingConfiguration.Builder,
,NodeFabricLogPublishingConfiguration> SdkBuilder<NodeFabricLogPublishingConfiguration.Builder,
,NodeFabricLogPublishingConfiguration> SdkPojo
- Enclosing class:
NodeFabricLogPublishingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionchaincodeLogs
(Consumer<LogConfigurations.Builder> chaincodeLogs) Configuration properties for logging events associated with chaincode execution on a peer node.chaincodeLogs
(LogConfigurations chaincodeLogs) Configuration properties for logging events associated with chaincode execution on a peer node.peerLogs
(Consumer<LogConfigurations.Builder> peerLogs) Configuration properties for a peer node log.peerLogs
(LogConfigurations peerLogs) Configuration properties for a peer node log.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
-
chaincodeLogs
Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
- Parameters:
chaincodeLogs
- Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chaincodeLogs
default NodeFabricLogPublishingConfiguration.Builder chaincodeLogs(Consumer<LogConfigurations.Builder> chaincodeLogs) Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
This is a convenience method that creates an instance of theLogConfigurations.Builder
avoiding the need to create one manually viaLogConfigurations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochaincodeLogs(LogConfigurations)
.- Parameters:
chaincodeLogs
- a consumer that will call methods onLogConfigurations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
peerLogs
Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
- Parameters:
peerLogs
- Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerLogs
default NodeFabricLogPublishingConfiguration.Builder peerLogs(Consumer<LogConfigurations.Builder> peerLogs) Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
This is a convenience method that creates an instance of theLogConfigurations.Builder
avoiding the need to create one manually viaLogConfigurations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topeerLogs(LogConfigurations)
.- Parameters:
peerLogs
- a consumer that will call methods onLogConfigurations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-