@Generated(value="software.amazon.awssdk:codegen") public final class DescribeEnvironmentsRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<DescribeEnvironmentsRequest.Builder,DescribeEnvironmentsRequest>
Request to describe one or more environments.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeEnvironmentsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
applicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application.
|
static DescribeEnvironmentsRequest.Builder |
builder() |
List<String> |
environmentIds()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified IDs.
|
List<String> |
environmentNames()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified names.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEnvironmentIds()
For responses, this returns true if the service returned a value for the EnvironmentIds property.
|
boolean |
hasEnvironmentNames()
For responses, this returns true if the service returned a value for the EnvironmentNames property.
|
int |
hashCode() |
Instant |
includedDeletedBackTo()
If specified when
IncludeDeleted is set to true, then environments deleted after this
date are displayed. |
Boolean |
includeDeleted()
Indicates whether to include deleted environments:
|
Integer |
maxRecords()
For a paginated request.
|
String |
nextToken()
For a paginated request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeEnvironmentsRequest.Builder> |
serializableBuilderClass() |
DescribeEnvironmentsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application version.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String applicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
public final String versionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
public final boolean hasEnvironmentIds()
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> environmentIds()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
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 hasEnvironmentIds() method.
public final boolean hasEnvironmentNames()
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> environmentNames()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
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 hasEnvironmentNames() method.
public final Boolean includeDeleted()
Indicates whether to include deleted environments:
true: Environments that have been deleted after IncludedDeletedBackTo are displayed.
false: Do not include deleted environments.
true: Environments that have been deleted after IncludedDeletedBackTo are
displayed.
false: Do not include deleted environments.
public final Instant includedDeletedBackTo()
If specified when IncludeDeleted is set to true, then environments deleted after this
date are displayed.
IncludeDeleted is set to true, then environments deleted
after this date are displayed.public final Integer maxRecords()
For a paginated request. Specify a maximum number of environments to include in each response.
If no MaxRecords is specified, all available environments are retrieved in a single response.
If no MaxRecords is specified, all available environments are retrieved in a single
response.
public final String nextToken()
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken is specified, the first page is retrieved.
If no NextToken is specified, the first page is retrieved.
public DescribeEnvironmentsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeEnvironmentsRequest.Builder,DescribeEnvironmentsRequest>toBuilder in class ElasticBeanstalkRequestpublic static DescribeEnvironmentsRequest.Builder builder()
public static Class<? extends DescribeEnvironmentsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2022. All rights reserved.