@Generated(value="software.amazon.awssdk:codegen") public final class GetEnvironmentResponse extends M2Response implements ToCopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEnvironmentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
actualCapacity()
The number of instances included in the runtime environment.
|
static GetEnvironmentResponse.Builder |
builder() |
Instant |
creationTime()
The timestamp when the runtime environment was created.
|
String |
description()
The description of the runtime environment.
|
EngineType |
engineType()
The target platform for the runtime environment.
|
String |
engineTypeAsString()
The target platform for the runtime environment.
|
String |
engineVersion()
The version of the runtime engine.
|
String |
environmentArn()
The Amazon Resource Name (ARN) of the runtime environment.
|
String |
environmentId()
The unique identifier of the runtime environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroupIds()
For responses, this returns true if the service returned a value for the SecurityGroupIds property.
|
boolean |
hasStorageConfigurations()
For responses, this returns true if the service returned a value for the StorageConfigurations property.
|
boolean |
hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
HighAvailabilityConfig |
highAvailabilityConfig()
The desired capacity of the high availability configuration for the runtime environment.
|
String |
instanceType()
The type of instance underlying the runtime environment.
|
String |
kmsKeyId()
The identifier of a customer managed key.
|
String |
loadBalancerArn()
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
|
String |
name()
The name of the runtime environment.
|
PendingMaintenance |
pendingMaintenance()
Indicates the pending maintenance scheduled on this environment.
|
String |
preferredMaintenanceWindow()
Configures the maintenance window you want for the runtime environment.
|
Boolean |
publiclyAccessible()
Whether applications running in this runtime environment are publicly accessible.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The unique identifiers of the security groups assigned to this runtime environment.
|
static Class<? extends GetEnvironmentResponse.Builder> |
serializableBuilderClass() |
EnvironmentLifecycle |
status()
The status of the runtime environment.
|
String |
statusAsString()
The status of the runtime environment.
|
String |
statusReason()
The reason for the reported status.
|
List<StorageConfiguration> |
storageConfigurations()
The storage configurations defined for the runtime environment.
|
List<String> |
subnetIds()
The unique identifiers of the subnets assigned to this runtime environment.
|
Map<String,String> |
tags()
The tags defined for this runtime environment.
|
GetEnvironmentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The unique identifier for the VPC used with this runtime environment.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer actualCapacity()
The number of instances included in the runtime environment. A standalone runtime environment has a maxiumum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
public final Instant creationTime()
The timestamp when the runtime environment was created.
public final String description()
The description of the runtime environment.
public final EngineType engineType()
The target platform for the runtime environment.
If the service returns an enum value that is not available in the current SDK version, engineType will
return EngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
engineTypeAsString().
EngineTypepublic final String engineTypeAsString()
The target platform for the runtime environment.
If the service returns an enum value that is not available in the current SDK version, engineType will
return EngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
engineTypeAsString().
EngineTypepublic final String engineVersion()
The version of the runtime engine.
public final String environmentArn()
The Amazon Resource Name (ARN) of the runtime environment.
public final String environmentId()
The unique identifier of the runtime environment.
public final HighAvailabilityConfig highAvailabilityConfig()
The desired capacity of the high availability configuration for the runtime environment.
public final String instanceType()
The type of instance underlying the runtime environment.
public final String kmsKeyId()
The identifier of a customer managed key.
public final String loadBalancerArn()
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
public final String name()
The name of the runtime environment. Must be unique within the account.
public final PendingMaintenance pendingMaintenance()
Indicates the pending maintenance scheduled on this environment.
public final String preferredMaintenanceWindow()
Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.
public final Boolean publiclyAccessible()
Whether applications running in this runtime environment are publicly accessible.
public final boolean hasSecurityGroupIds()
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 List<String> securityGroupIds()
The unique identifiers of the security groups assigned to this runtime 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 hasSecurityGroupIds() method.
public final EnvironmentLifecycle status()
The status of the runtime environment.
If the service returns an enum value that is not available in the current SDK version, status will
return EnvironmentLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
EnvironmentLifecyclepublic final String statusAsString()
The status of the runtime environment.
If the service returns an enum value that is not available in the current SDK version, status will
return EnvironmentLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
EnvironmentLifecyclepublic final String statusReason()
The reason for the reported status.
public final boolean hasStorageConfigurations()
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 List<StorageConfiguration> storageConfigurations()
The storage configurations defined for the runtime 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 hasStorageConfigurations() method.
public final boolean hasSubnetIds()
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 List<String> subnetIds()
The unique identifiers of the subnets assigned to this runtime 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 hasSubnetIds() method.
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()
The tags defined for this runtime 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 vpcId()
The unique identifier for the VPC used with this runtime environment.
public GetEnvironmentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>toBuilder in class AwsResponsepublic static GetEnvironmentResponse.Builder builder()
public static Class<? extends GetEnvironmentResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.