@Generated(value="software.amazon.awssdk:codegen") public final class NetworkSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkSummary.Builder,NetworkSummary>
A summary of network configuration properties.
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static NetworkSummary.Builder |
builder() |
Instant |
creationDate()
The date and time that the network was created.
|
String |
description()
An optional description of the network.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
Framework |
framework()
The blockchain framework that the network uses.
|
String |
frameworkAsString()
The blockchain framework that the network uses.
|
String |
frameworkVersion()
The version of the blockchain framework that the network uses.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier of the network.
|
String |
name()
The name of the network.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkSummary.Builder> |
serializableBuilderClass() |
NetworkStatus |
status()
The current status of the network.
|
String |
statusAsString()
The current status of the network.
|
NetworkSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String id()
The unique identifier of the network.
public final String name()
The name of the network.
public final String description()
An optional description of the network.
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, framework
will
return Framework.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
frameworkAsString()
.
Framework
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, framework
will
return Framework.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
frameworkAsString()
.
Framework
public final String frameworkVersion()
The version of the blockchain framework that the network uses.
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, status
will
return NetworkStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
NetworkStatus
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, status
will
return NetworkStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
NetworkStatus
public final Instant creationDate()
The date and time that the network was created.
public NetworkSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkSummary.Builder,NetworkSummary>
public static NetworkSummary.Builder builder()
public static Class<? extends NetworkSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.