Class NodeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.managedblockchain.model.NodeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class NodeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>
Configuration properties of a node.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNodeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone in which the node exists.static NodeConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceType()The Amazon Managed Blockchain instance type for the node.NodeLogPublishingConfigurationlogPublishingConfiguration()Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodeConfiguration.Builder>serializableBuilderClass()StateDBTypestateDB()The state database that the node uses.StringstateDBAsString()The state database that the node uses.NodeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceType
public final String instanceType()
The Amazon Managed Blockchain instance type for the node.
- Returns:
- The Amazon Managed Blockchain instance type for the node.
-
availabilityZone
public final String availabilityZone()
The Availability Zone in which the node exists. Required for Ethereum nodes.
- Returns:
- The Availability Zone in which the node exists. Required for Ethereum nodes.
-
logPublishingConfiguration
public final NodeLogPublishingConfiguration logPublishingConfiguration()
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
- Returns:
- Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
-
stateDB
public final StateDBType stateDB()
The state database that the node uses. Values are
LevelDBorCouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB.Applies only to Hyperledger Fabric.
If the service returns an enum value that is not available in the current SDK version,
stateDBwill returnStateDBType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateDBAsString().- Returns:
- The state database that the node uses. Values are
LevelDBorCouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB.Applies only to Hyperledger Fabric.
- See Also:
StateDBType
-
stateDBAsString
public final String stateDBAsString()
The state database that the node uses. Values are
LevelDBorCouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB.Applies only to Hyperledger Fabric.
If the service returns an enum value that is not available in the current SDK version,
stateDBwill returnStateDBType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateDBAsString().- Returns:
- The state database that the node uses. Values are
LevelDBorCouchDB. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB.Applies only to Hyperledger Fabric.
- See Also:
StateDBType
-
toBuilder
public NodeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>
-
builder
public static NodeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-