@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEnvironmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to describe one or more environments.
NOOP
Constructor and Description |
---|
DescribeEnvironmentsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEnvironmentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application.
|
List<String> |
getEnvironmentIds()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified IDs.
|
List<String> |
getEnvironmentNames()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified names.
|
Date |
getIncludedDeletedBackTo()
If specified when
IncludeDeleted is set to true , then environments deleted after this
date are displayed. |
Boolean |
getIncludeDeleted()
Indicates whether to include deleted environments:
|
Integer |
getMaxRecords()
For a paginated request.
|
String |
getNextToken()
For a paginated request.
|
String |
getVersionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application version.
|
int |
hashCode() |
Boolean |
isIncludeDeleted()
Indicates whether to include deleted environments:
|
void |
setApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application.
|
void |
setEnvironmentIds(Collection<String> environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified IDs.
|
void |
setEnvironmentNames(Collection<String> environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified names.
|
void |
setIncludedDeletedBackTo(Date includedDeletedBackTo)
If specified when
IncludeDeleted is set to true , then environments deleted after this
date are displayed. |
void |
setIncludeDeleted(Boolean includeDeleted)
Indicates whether to include deleted environments:
|
void |
setMaxRecords(Integer maxRecords)
For a paginated request.
|
void |
setNextToken(String nextToken)
For a paginated request.
|
void |
setVersionLabel(String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEnvironmentsRequest |
withApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application.
|
DescribeEnvironmentsRequest |
withEnvironmentIds(Collection<String> environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified IDs.
|
DescribeEnvironmentsRequest |
withEnvironmentIds(String... environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified IDs.
|
DescribeEnvironmentsRequest |
withEnvironmentNames(Collection<String> environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified names.
|
DescribeEnvironmentsRequest |
withEnvironmentNames(String... environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified names.
|
DescribeEnvironmentsRequest |
withIncludedDeletedBackTo(Date includedDeletedBackTo)
If specified when
IncludeDeleted is set to true , then environments deleted after this
date are displayed. |
DescribeEnvironmentsRequest |
withIncludeDeleted(Boolean includeDeleted)
Indicates whether to include deleted environments:
|
DescribeEnvironmentsRequest |
withMaxRecords(Integer maxRecords)
For a paginated request.
|
DescribeEnvironmentsRequest |
withNextToken(String nextToken)
For a paginated request.
|
DescribeEnvironmentsRequest |
withVersionLabel(String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated
with this application version.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
applicationName
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are
associated with this application.public String getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
public DescribeEnvironmentsRequest withApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
applicationName
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are
associated with this application.public void setVersionLabel(String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
versionLabel
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are
associated with this application version.public String getVersionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
public DescribeEnvironmentsRequest withVersionLabel(String versionLabel)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
versionLabel
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are
associated with this application version.public List<String> getEnvironmentIds()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
public void setEnvironmentIds(Collection<String> environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
environmentIds
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
the specified IDs.public DescribeEnvironmentsRequest withEnvironmentIds(String... environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentIds(java.util.Collection)
or withEnvironmentIds(java.util.Collection)
if you want
to override the existing values.
environmentIds
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
the specified IDs.public DescribeEnvironmentsRequest withEnvironmentIds(Collection<String> environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
environmentIds
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
the specified IDs.public List<String> getEnvironmentNames()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
public void setEnvironmentNames(Collection<String> environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
environmentNames
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
the specified names.public DescribeEnvironmentsRequest withEnvironmentNames(String... environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentNames(java.util.Collection)
or withEnvironmentNames(java.util.Collection)
if you
want to override the existing values.
environmentNames
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
the specified names.public DescribeEnvironmentsRequest withEnvironmentNames(Collection<String> environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
environmentNames
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
the specified names.public void setIncludeDeleted(Boolean includeDeleted)
Indicates whether to include deleted environments:
true
: Environments that have been deleted after IncludedDeletedBackTo
are displayed.
false
: Do not include deleted environments.
includeDeleted
- Indicates whether to include deleted environments:
true
: Environments that have been deleted after IncludedDeletedBackTo
are
displayed.
false
: Do not include deleted environments.
public Boolean getIncludeDeleted()
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 DescribeEnvironmentsRequest withIncludeDeleted(Boolean includeDeleted)
Indicates whether to include deleted environments:
true
: Environments that have been deleted after IncludedDeletedBackTo
are displayed.
false
: Do not include deleted environments.
includeDeleted
- Indicates whether to include deleted environments:
true
: Environments that have been deleted after IncludedDeletedBackTo
are
displayed.
false
: Do not include deleted environments.
public Boolean isIncludeDeleted()
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 void setIncludedDeletedBackTo(Date includedDeletedBackTo)
If specified when IncludeDeleted
is set to true
, then environments deleted after this
date are displayed.
includedDeletedBackTo
- If specified when IncludeDeleted
is set to true
, then environments deleted after
this date are displayed.public Date getIncludedDeletedBackTo()
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 DescribeEnvironmentsRequest withIncludedDeletedBackTo(Date includedDeletedBackTo)
If specified when IncludeDeleted
is set to true
, then environments deleted after this
date are displayed.
includedDeletedBackTo
- If specified when IncludeDeleted
is set to true
, then environments deleted after
this date are displayed.public void setMaxRecords(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.
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.
public Integer getMaxRecords()
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 DescribeEnvironmentsRequest withMaxRecords(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.
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.
public void setNextToken(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.
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.
public String getNextToken()
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 withNextToken(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.
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.
public String toString()
toString
in class Object
Object.toString()
public DescribeEnvironmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.