Class DescribeEnvironmentsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeEnvironmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to describe one or more environments.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeEnvironmentsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEnvironmentsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetApplicationName()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.DategetIncludedDeletedBackTo()If specified whenIncludeDeletedis set totrue, then environments deleted after this date are displayed.BooleangetIncludeDeleted()Indicates whether to include deleted environments:StringgetVersionLabel()If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.inthashCode()BooleanisIncludeDeleted()Indicates whether to include deleted environments:voidsetApplicationName(String applicationName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.voidsetEnvironmentIds(Collection<String> environmentIds)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.voidsetEnvironmentNames(Collection<String> environmentNames)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.voidsetIncludedDeletedBackTo(Date includedDeletedBackTo)If specified whenIncludeDeletedis set totrue, then environments deleted after this date are displayed.voidsetIncludeDeleted(Boolean includeDeleted)Indicates whether to include deleted environments:voidsetVersionLabel(String versionLabel)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeEnvironmentsRequestwithApplicationName(String applicationName)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.DescribeEnvironmentsRequestwithEnvironmentIds(String... environmentIds)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.DescribeEnvironmentsRequestwithEnvironmentIds(Collection<String> environmentIds)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.DescribeEnvironmentsRequestwithEnvironmentNames(String... environmentNames)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.DescribeEnvironmentsRequestwithEnvironmentNames(Collection<String> environmentNames)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.DescribeEnvironmentsRequestwithIncludedDeletedBackTo(Date includedDeletedBackTo)If specified whenIncludeDeletedis set totrue, then environments deleted after this date are displayed.DescribeEnvironmentsRequestwithIncludeDeleted(Boolean includeDeleted)Indicates whether to include deleted environments:DescribeEnvironmentsRequestwithVersionLabel(String versionLabel)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
- Parameters:
applicationName- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
-
getApplicationName
public String getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
- Returns:
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
-
withApplicationName
public DescribeEnvironmentsRequest withApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
- Parameters:
applicationName- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionLabel
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.
- Parameters:
versionLabel- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
-
getVersionLabel
public String getVersionLabel()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
- Returns:
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
-
withVersionLabel
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.
- Parameters:
versionLabel- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEnvironmentIds
public List<String> getEnvironmentIds()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
- Returns:
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
-
setEnvironmentIds
public void setEnvironmentIds(Collection<String> environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
- Parameters:
environmentIds- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
-
withEnvironmentIds
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)orwithEnvironmentIds(java.util.Collection)if you want to override the existing values.- Parameters:
environmentIds- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEnvironmentIds
public DescribeEnvironmentsRequest withEnvironmentIds(Collection<String> environmentIds)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
- Parameters:
environmentIds- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEnvironmentNames
public List<String> getEnvironmentNames()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
- Returns:
- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
-
setEnvironmentNames
public void setEnvironmentNames(Collection<String> environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
- Parameters:
environmentNames- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
-
withEnvironmentNames
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)orwithEnvironmentNames(java.util.Collection)if you want to override the existing values.- Parameters:
environmentNames- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEnvironmentNames
public DescribeEnvironmentsRequest withEnvironmentNames(Collection<String> environmentNames)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
- Parameters:
environmentNames- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIncludeDeleted
public void setIncludeDeleted(Boolean includeDeleted)
Indicates whether to include deleted environments:
true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.- Parameters:
includeDeleted- Indicates whether to include deleted environments:true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.
-
getIncludeDeleted
public Boolean getIncludeDeleted()
Indicates whether to include deleted environments:
true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.- Returns:
- Indicates whether to include deleted environments:
true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.
-
withIncludeDeleted
public DescribeEnvironmentsRequest withIncludeDeleted(Boolean includeDeleted)
Indicates whether to include deleted environments:
true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.- Parameters:
includeDeleted- Indicates whether to include deleted environments:true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIncludeDeleted
public Boolean isIncludeDeleted()
Indicates whether to include deleted environments:
true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.- Returns:
- Indicates whether to include deleted environments:
true: Environments that have been deleted afterIncludedDeletedBackToare displayed.false: Do not include deleted environments.
-
setIncludedDeletedBackTo
public void setIncludedDeletedBackTo(Date includedDeletedBackTo)
If specified when
IncludeDeletedis set totrue, then environments deleted after this date are displayed.- Parameters:
includedDeletedBackTo- If specified whenIncludeDeletedis set totrue, then environments deleted after this date are displayed.
-
getIncludedDeletedBackTo
public Date getIncludedDeletedBackTo()
If specified when
IncludeDeletedis set totrue, then environments deleted after this date are displayed.- Returns:
- If specified when
IncludeDeletedis set totrue, then environments deleted after this date are displayed.
-
withIncludedDeletedBackTo
public DescribeEnvironmentsRequest withIncludedDeletedBackTo(Date includedDeletedBackTo)
If specified when
IncludeDeletedis set totrue, then environments deleted after this date are displayed.- Parameters:
includedDeletedBackTo- If specified whenIncludeDeletedis set totrue, then environments deleted after this date are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEnvironmentsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-