@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()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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 for the network 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 for the network 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()
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.
You can use hasTags() to see if a value was sent in this field.
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 AWS 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 © 2021. All rights reserved.