@Generated(value="software.amazon.awssdk:codegen") public final class EnvironmentResourceDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentResourceDescription.Builder,EnvironmentResourceDescription>
Describes the AWS resources in use by this environment. This data is live.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnvironmentResourceDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AutoScalingGroup> |
autoScalingGroups()
The
AutoScalingGroups used by this environment. |
static EnvironmentResourceDescription.Builder |
builder() |
String |
environmentName()
The name of the environment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutoScalingGroups()
For responses, this returns true if the service returned a value for the AutoScalingGroups property.
|
int |
hashCode() |
boolean |
hasInstances()
For responses, this returns true if the service returned a value for the Instances property.
|
boolean |
hasLaunchConfigurations()
For responses, this returns true if the service returned a value for the LaunchConfigurations property.
|
boolean |
hasLaunchTemplates()
For responses, this returns true if the service returned a value for the LaunchTemplates property.
|
boolean |
hasLoadBalancers()
For responses, this returns true if the service returned a value for the LoadBalancers property.
|
boolean |
hasQueues()
For responses, this returns true if the service returned a value for the Queues property.
|
boolean |
hasTriggers()
For responses, this returns true if the service returned a value for the Triggers property.
|
List<Instance> |
instances()
The Amazon EC2 instances used by this environment.
|
List<LaunchConfiguration> |
launchConfigurations()
The Auto Scaling launch configurations in use by this environment.
|
List<LaunchTemplate> |
launchTemplates()
The Amazon EC2 launch templates in use by this environment.
|
List<LoadBalancer> |
loadBalancers()
The LoadBalancers in use by this environment.
|
List<Queue> |
queues()
The queues used by this environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnvironmentResourceDescription.Builder> |
serializableBuilderClass() |
EnvironmentResourceDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<Trigger> |
triggers()
The
AutoScaling triggers in use by this environment. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String environmentName()
The name of the environment.
public final boolean hasAutoScalingGroups()
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<AutoScalingGroup> autoScalingGroups()
The AutoScalingGroups used by this 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 hasAutoScalingGroups() method.
AutoScalingGroups used by this environment.public final boolean hasInstances()
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<Instance> instances()
The Amazon EC2 instances used by this 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 hasInstances() method.
public final boolean hasLaunchConfigurations()
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<LaunchConfiguration> launchConfigurations()
The Auto Scaling launch configurations in use by this 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 hasLaunchConfigurations() method.
public final boolean hasLaunchTemplates()
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<LaunchTemplate> launchTemplates()
The Amazon EC2 launch templates in use by this 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 hasLaunchTemplates() method.
public final boolean hasLoadBalancers()
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<LoadBalancer> loadBalancers()
The LoadBalancers in use by this 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 hasLoadBalancers() method.
public final boolean hasTriggers()
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<Trigger> triggers()
The AutoScaling triggers in use by this 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 hasTriggers() method.
AutoScaling triggers in use by this environment.public final boolean hasQueues()
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<Queue> queues()
The queues used by this 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 hasQueues() method.
public EnvironmentResourceDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnvironmentResourceDescription.Builder,EnvironmentResourceDescription>public static EnvironmentResourceDescription.Builder builder()
public static Class<? extends EnvironmentResourceDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.