Class NetworkSummary
- java.lang.Object
-
- software.amazon.awssdk.services.managedblockchain.model.NetworkSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NetworkSummary.Builder,NetworkSummary>
@Generated("software.amazon.awssdk:codegen") public final class NetworkSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkSummary.Builder,NetworkSummary>
A summary of network configuration properties.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNetworkSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the network.static NetworkSummary.Builderbuilder()InstantcreationDate()The date and time that the network was created.Stringdescription()An optional description of the network.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Frameworkframework()The blockchain framework that the network uses.StringframeworkAsString()The blockchain framework that the network uses.StringframeworkVersion()The version of the blockchain framework that the network uses.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the network.Stringname()The name of the network.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NetworkSummary.Builder>serializableBuilderClass()NetworkStatusstatus()The current status of the network.StringstatusAsString()The current status of the network.NetworkSummary.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
-
id
public final String id()
The unique identifier of the network.
- Returns:
- The unique identifier of the network.
-
name
public final String name()
The name of the network.
- Returns:
- The name of the network.
-
description
public final String description()
An optional description of the network.
- Returns:
- An optional description of the network.
-
framework
public final Framework framework()
The blockchain framework that the network uses.
If the service returns an enum value that is not available in the current SDK version,
frameworkwill returnFramework.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframeworkAsString().- Returns:
- The blockchain framework that the network uses.
- See Also:
Framework
-
frameworkAsString
public final String frameworkAsString()
The blockchain framework that the network uses.
If the service returns an enum value that is not available in the current SDK version,
frameworkwill returnFramework.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframeworkAsString().- Returns:
- The blockchain framework that the network uses.
- See Also:
Framework
-
frameworkVersion
public final String frameworkVersion()
The version of the blockchain framework that the network uses.
- Returns:
- The version of the blockchain framework that the network uses.
-
status
public final NetworkStatus status()
The current status of the network.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnNetworkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the network.
- See Also:
NetworkStatus
-
statusAsString
public final String statusAsString()
The current status of the network.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnNetworkStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the network.
- See Also:
NetworkStatus
-
creationDate
public final Instant creationDate()
The date and time that the network was created.
- Returns:
- The date and time that the network was created.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
- Returns:
- The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
-
toBuilder
public NetworkSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NetworkSummary.Builder,NetworkSummary>
-
builder
public static NetworkSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends NetworkSummary.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
-
-