Class Network
- java.lang.Object
-
- software.amazon.awssdk.services.privatenetworks.model.Network
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Network.Builder,Network>
@Generated("software.amazon.awssdk:codegen") public final class Network extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Network.Builder,Network>
Information about a network.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNetwork.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Network.Builderbuilder()InstantcreatedAt()The creation time of the network.Stringdescription()The description of the network.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnetworkArn()The Amazon Resource Name (ARN) of the network.StringnetworkName()The name of the network.List<SdkField<?>>sdkFields()static Class<? extends Network.Builder>serializableBuilderClass()NetworkStatusstatus()The status of the network.StringstatusAsString()The status of the network.StringstatusReason()The status reason of the network.Network.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
-
createdAt
public final Instant createdAt()
The creation time of the network.
- Returns:
- The creation time of the network.
-
description
public final String description()
The description of the network.
- Returns:
- The description of the network.
-
networkArn
public final String networkArn()
The Amazon Resource Name (ARN) of the network.
- Returns:
- The Amazon Resource Name (ARN) of the network.
-
networkName
public final String networkName()
The name of the network.
- Returns:
- The name of the network.
-
status
public final NetworkStatus status()
The 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 status of the network.
- See Also:
NetworkStatus
-
statusAsString
public final String statusAsString()
The 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 status of the network.
- See Also:
NetworkStatus
-
statusReason
public final String statusReason()
The status reason of the network.
- Returns:
- The status reason of the network.
-
toBuilder
public Network.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Network.Builder,Network>
-
builder
public static Network.Builder builder()
-
serializableBuilderClass
public static Class<? extends Network.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.
-
-