Interface NodeFabricLogPublishingConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeFabricLogPublishingConfiguration.Builder,NodeFabricLogPublishingConfiguration>,SdkBuilder<NodeFabricLogPublishingConfiguration.Builder,NodeFabricLogPublishingConfiguration>,SdkPojo
- Enclosing class:
- NodeFabricLogPublishingConfiguration
public static interface NodeFabricLogPublishingConfiguration.Builder extends SdkPojo, CopyableBuilder<NodeFabricLogPublishingConfiguration.Builder,NodeFabricLogPublishingConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NodeFabricLogPublishingConfiguration.BuilderchaincodeLogs(Consumer<LogConfigurations.Builder> chaincodeLogs)Configuration properties for logging events associated with chaincode execution on a peer node.NodeFabricLogPublishingConfiguration.BuilderchaincodeLogs(LogConfigurations chaincodeLogs)Configuration properties for logging events associated with chaincode execution on a peer node.default NodeFabricLogPublishingConfiguration.BuilderpeerLogs(Consumer<LogConfigurations.Builder> peerLogs)Configuration properties for a peer node log.NodeFabricLogPublishingConfiguration.BuilderpeerLogs(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
chaincodeLogs
NodeFabricLogPublishingConfiguration.Builder chaincodeLogs(LogConfigurations 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.Builderavoiding the need to create one manually viaLogConfigurations.builder().When the
Consumercompletes,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:
chaincodeLogs(LogConfigurations)
-
peerLogs
NodeFabricLogPublishingConfiguration.Builder peerLogs(LogConfigurations 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.Builderavoiding the need to create one manually viaLogConfigurations.builder().When the
Consumercompletes,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:
peerLogs(LogConfigurations)
-
-