@Generated(value="software.amazon.awssdk:codegen") public final class EnvironmentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>
The summary information for environments as a response to ListEnvironments.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnvironmentSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the environment.
|
static EnvironmentSummary.Builder |
builder() |
Instant |
createdTime()
A timestamp that indicates when the environment is created.
|
String |
description()
A description of the environment.
|
String |
environmentId()
The unique identifier of the environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorResponse |
error()
Any error associated with the environment resource.
|
<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.
|
Instant |
lastUpdatedTime()
A timestamp that indicates when the environment was last updated.
|
String |
name()
The name of the environment.
|
NetworkFabricType |
networkFabricType()
The network fabric type of the environment.
|
String |
networkFabricTypeAsString()
The network fabric type of the environment.
|
String |
ownerAccountId()
The Amazon Web Services account ID of the environment owner.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnvironmentSummary.Builder> |
serializableBuilderClass() |
EnvironmentState |
state()
The current state of the environment.
|
String |
stateAsString()
The current state of the environment.
|
Map<String,String> |
tags()
The tags assigned to the environment.
|
EnvironmentSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayId()
The ID of the transit gateway set up by the environment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the environment.
public final Instant createdTime()
A timestamp that indicates when the environment is created.
public final String description()
A description of the environment.
public final String environmentId()
The unique identifier of the environment.
public final ErrorResponse error()
Any error associated with the environment resource.
public final Instant lastUpdatedTime()
A timestamp that indicates when the environment was last updated.
public final String name()
The name of the environment.
public final NetworkFabricType networkFabricType()
The network fabric type of the environment.
If the service returns an enum value that is not available in the current SDK version, networkFabricType
will return NetworkFabricType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from networkFabricTypeAsString().
NetworkFabricTypepublic final String networkFabricTypeAsString()
The network fabric type of the environment.
If the service returns an enum value that is not available in the current SDK version, networkFabricType
will return NetworkFabricType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from networkFabricTypeAsString().
NetworkFabricTypepublic final String ownerAccountId()
The Amazon Web Services account ID of the environment owner.
public final EnvironmentState state()
The current state of the environment.
If the service returns an enum value that is not available in the current SDK version, state will return
EnvironmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
EnvironmentStatepublic final String stateAsString()
The current state of the environment.
If the service returns an enum value that is not available in the current SDK version, state will return
EnvironmentState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
EnvironmentStatepublic 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()
The tags assigned to the environment.
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.
public final String transitGatewayId()
The ID of the transit gateway set up by the environment.
public EnvironmentSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>public static EnvironmentSummary.Builder builder()
public static Class<? extends EnvironmentSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.