com.amazonaws.services.elasticbeanstalk.model
Class DescribeApplicationVersionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.DescribeApplicationVersionsRequest

public class DescribeApplicationVersionsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeApplicationVersions operation.

Returns descriptions for existing application versions.

See Also:
AWSElasticBeanstalk.describeApplicationVersions(DescribeApplicationVersionsRequest)

Constructor Summary
DescribeApplicationVersionsRequest()
          Default constructor for a new DescribeApplicationVersionsRequest object.
 
Method Summary
 String getApplicationName()
          If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.
 List<String> getVersionLabels()
          If specified, restricts the returned descriptions to only include ones that have the specified version labels.
 void setApplicationName(String applicationName)
          If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.
 void setVersionLabels(Collection<String> versionLabels)
          If specified, restricts the returned descriptions to only include ones that have the specified version labels.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeApplicationVersionsRequest withApplicationName(String applicationName)
          If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.
 DescribeApplicationVersionsRequest withVersionLabels(Collection<String> versionLabels)
          If specified, restricts the returned descriptions to only include ones that have the specified version labels.
 DescribeApplicationVersionsRequest withVersionLabels(String... versionLabels)
          If specified, restricts the returned descriptions to only include ones that have the specified version labels.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeApplicationVersionsRequest

public DescribeApplicationVersionsRequest()
Default constructor for a new DescribeApplicationVersionsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getApplicationName

public String getApplicationName()
If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.

Constraints:
Length: 1 - 100

Returns:
If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.

setApplicationName

public void setApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.

Constraints:
Length: 1 - 100

Parameters:
applicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.

withApplicationName

public DescribeApplicationVersionsRequest withApplicationName(String applicationName)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
applicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.
Returns:
A reference to this updated object so that method calls can be chained together.

getVersionLabels

public List<String> getVersionLabels()
If specified, restricts the returned descriptions to only include ones that have the specified version labels.

Returns:
If specified, restricts the returned descriptions to only include ones that have the specified version labels.

setVersionLabels

public void setVersionLabels(Collection<String> versionLabels)
If specified, restricts the returned descriptions to only include ones that have the specified version labels.

Parameters:
versionLabels - If specified, restricts the returned descriptions to only include ones that have the specified version labels.

withVersionLabels

public DescribeApplicationVersionsRequest withVersionLabels(String... versionLabels)
If specified, restricts the returned descriptions to only include ones that have the specified version labels.

Returns a reference to this object so that method calls can be chained together.

Parameters:
versionLabels - If specified, restricts the returned descriptions to only include ones that have the specified version labels.
Returns:
A reference to this updated object so that method calls can be chained together.

withVersionLabels

public DescribeApplicationVersionsRequest withVersionLabels(Collection<String> versionLabels)
If specified, restricts the returned descriptions to only include ones that have the specified version labels.

Returns a reference to this object so that method calls can be chained together.

Parameters:
versionLabels - If specified, restricts the returned descriptions to only include ones that have the specified version labels.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.