com.amazonaws.services.autoscaling.model
Class DescribeLaunchConfigurationsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.DescribeLaunchConfigurationsRequest

public class DescribeLaunchConfigurationsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeLaunchConfigurations operation.

Returns a full description of the launch configurations, or the specified launch configurations, if they exist.

If no name is specified, then the full details of all launch configurations are returned.

See Also:
AmazonAutoScaling.describeLaunchConfigurations(DescribeLaunchConfigurationsRequest)

Constructor Summary
DescribeLaunchConfigurationsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getLaunchConfigurationNames()
          A list of launch configuration names.
 Integer getMaxRecords()
          The maximum number of launch configurations.
 String getNextToken()
          A string that marks the start of the next batch of returned results.
 int hashCode()
           
 void setLaunchConfigurationNames(Collection<String> launchConfigurationNames)
          A list of launch configuration names.
 void setMaxRecords(Integer maxRecords)
          The maximum number of launch configurations.
 void setNextToken(String nextToken)
          A string that marks the start of the next batch of returned results.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLaunchConfigurationsRequest withLaunchConfigurationNames(Collection<String> launchConfigurationNames)
          A list of launch configuration names.
 DescribeLaunchConfigurationsRequest withLaunchConfigurationNames(String... launchConfigurationNames)
          A list of launch configuration names.
 DescribeLaunchConfigurationsRequest withMaxRecords(Integer maxRecords)
          The maximum number of launch configurations.
 DescribeLaunchConfigurationsRequest withNextToken(String nextToken)
          A string that marks the start of the next batch of returned results.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeLaunchConfigurationsRequest

public DescribeLaunchConfigurationsRequest()
Method Detail

getLaunchConfigurationNames

public List<String> getLaunchConfigurationNames()
A list of launch configuration names.

Returns:
A list of launch configuration names.

setLaunchConfigurationNames

public void setLaunchConfigurationNames(Collection<String> launchConfigurationNames)
A list of launch configuration names.

Parameters:
launchConfigurationNames - A list of launch configuration names.

withLaunchConfigurationNames

public DescribeLaunchConfigurationsRequest withLaunchConfigurationNames(String... launchConfigurationNames)
A list of launch configuration names.

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

Parameters:
launchConfigurationNames - A list of launch configuration names.
Returns:
A reference to this updated object so that method calls can be chained together.

withLaunchConfigurationNames

public DescribeLaunchConfigurationsRequest withLaunchConfigurationNames(Collection<String> launchConfigurationNames)
A list of launch configuration names.

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

Parameters:
launchConfigurationNames - A list of launch configuration names.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
A string that marks the start of the next batch of returned results.

Constraints:
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
A string that marks the start of the next batch of returned results.

setNextToken

public void setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.

Constraints:
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
nextToken - A string that marks the start of the next batch of returned results.

withNextToken

public DescribeLaunchConfigurationsRequest withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.

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

Constraints:
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
nextToken - A string that marks the start of the next batch of returned results.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of launch configurations. The default is 100.

Constraints:
Range: 1 - 50

Returns:
The maximum number of launch configurations. The default is 100.

setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of launch configurations. The default is 100.

Constraints:
Range: 1 - 50

Parameters:
maxRecords - The maximum number of launch configurations. The default is 100.

withMaxRecords

public DescribeLaunchConfigurationsRequest withMaxRecords(Integer maxRecords)
The maximum number of launch configurations. The default is 100.

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

Constraints:
Range: 1 - 50

Parameters:
maxRecords - The maximum number of launch configurations. The default is 100.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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