@Generated(value="software.amazon.awssdk:codegen") public final class Network extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Network.Builder,Network>
Network configuration properties.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Network.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the network.
|
static Network.Builder |
builder() |
Instant |
creationDate()
The date and time that the network was created.
|
String |
description()
Attributes of the blockchain framework for the network.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Framework |
framework()
The blockchain framework that the network uses.
|
String |
frameworkAsString()
The blockchain framework that the network uses.
|
NetworkFrameworkAttributes |
frameworkAttributes()
Attributes of 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() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
id()
The unique identifier of the network.
|
String |
name()
The name of the network.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Network.Builder> |
serializableBuilderClass() |
NetworkStatus |
status()
The current status of the network.
|
String |
statusAsString()
The current status of the network.
|
Map<String,String> |
tags()
Tags assigned to the network.
|
Network.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VotingPolicy |
votingPolicy()
The voting rules that the network uses to decide if a proposal is accepted.
|
String |
vpcEndpointServiceName()
The VPC endpoint service name of the VPC endpoint service of the network.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier of the network.
public final String name()
The name of the network.
public final String description()
Attributes of the blockchain framework for 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().
Frameworkpublic 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().
Frameworkpublic final String frameworkVersion()
The version of the blockchain framework that the network uses.
public final NetworkFrameworkAttributes frameworkAttributes()
Attributes of the blockchain framework that the network uses.
public final String vpcEndpointServiceName()
The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
public final VotingPolicy votingPolicy()
The voting rules that the network uses to decide if a proposal is accepted.
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().
NetworkStatuspublic 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().
NetworkStatuspublic final Instant creationDate()
The date and time that the network was created.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Tags assigned to the network. Each tag consists of a key and optional value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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.
public Network.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Network.Builder,Network>public static Network.Builder builder()
public static Class<? extends Network.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.