@Generated(value="software.amazon.awssdk:codegen") public final class NodeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>
Configuration properties of a node.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NodeConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Availability Zone in which the node exists.
|
static NodeConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceType()
The Amazon Managed Blockchain instance type for the node.
|
NodeLogPublishingConfiguration |
logPublishingConfiguration()
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on
Managed Blockchain.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NodeConfiguration.Builder> |
serializableBuilderClass() |
StateDBType |
stateDB()
The state database that the node uses.
|
String |
stateDBAsString()
The state database that the node uses.
|
NodeConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceType()
The Amazon Managed Blockchain instance type for the node.
public final String availabilityZone()
The Availability Zone in which the node exists. Required for Ethereum nodes.
public final NodeLogPublishingConfiguration logPublishingConfiguration()
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
public final StateDBType stateDB()
The state database that the node uses. Values are LevelDB or CouchDB. When using an
Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is
CouchDB.
Applies only to Hyperledger Fabric.
If the service returns an enum value that is not available in the current SDK version, stateDB will
return StateDBType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateDBAsString().
LevelDB or CouchDB. When
using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is
CouchDB.
Applies only to Hyperledger Fabric.
StateDBTypepublic final String stateDBAsString()
The state database that the node uses. Values are LevelDB or CouchDB. When using an
Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is
CouchDB.
Applies only to Hyperledger Fabric.
If the service returns an enum value that is not available in the current SDK version, stateDB will
return StateDBType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateDBAsString().
LevelDB or CouchDB. When
using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is
CouchDB.
Applies only to Hyperledger Fabric.
StateDBTypepublic NodeConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>public static NodeConfiguration.Builder builder()
public static Class<? extends NodeConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.