@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()
Returns true if the EnvironmentIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasEnvironmentNames()
Returns true if the EnvironmentNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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 String applicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
public String versionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
public boolean hasEnvironmentIds()
public 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.
You can use hasEnvironmentIds() to see if a value was sent in this field.
public boolean hasEnvironmentNames()
public 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.
You can use hasEnvironmentNames() to see if a value was sent in this field.
public 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 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 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 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.