com.amazonaws.services.ec2.model
Class DescribePlacementGroupsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribePlacementGroupsRequest

public class DescribePlacementGroupsRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribePlacementGroups operation.

Returns information about one or more PlacementGroup instances in a user's account.

See Also:
AmazonEC2.describePlacementGroups(DescribePlacementGroupsRequest)

Constructor Summary
DescribePlacementGroupsRequest()
           
 
Method Summary
 List<Filter> getFilters()
          Returns the value of the Filters property for this object.
 List<String> getGroupNames()
          The name of the PlacementGroup.
 void setFilters(Collection<Filter> filters)
          Sets the value of the Filters property for this object.
 void setGroupNames(Collection<String> groupNames)
          The name of the PlacementGroup.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribePlacementGroupsRequest withFilters(Collection<Filter> filters)
          Sets the value of the Filters property for this object.
 DescribePlacementGroupsRequest withFilters(Filter... filters)
          Sets the value of the Filters property for this object.
 DescribePlacementGroupsRequest withGroupNames(Collection<String> groupNames)
          The name of the PlacementGroup.
 DescribePlacementGroupsRequest withGroupNames(String... groupNames)
          The name of the PlacementGroup.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribePlacementGroupsRequest

public DescribePlacementGroupsRequest()
Method Detail

getGroupNames

public List<String> getGroupNames()
The name of the PlacementGroup.

Returns:
The name of the PlacementGroup.

setGroupNames

public void setGroupNames(Collection<String> groupNames)
The name of the PlacementGroup.

Parameters:
groupNames - The name of the PlacementGroup.

withGroupNames

public DescribePlacementGroupsRequest withGroupNames(String... groupNames)
The name of the PlacementGroup.

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

Parameters:
groupNames - The name of the PlacementGroup.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroupNames

public DescribePlacementGroupsRequest withGroupNames(Collection<String> groupNames)
The name of the PlacementGroup.

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

Parameters:
groupNames - The name of the PlacementGroup.
Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public List<Filter> getFilters()
Returns the value of the Filters property for this object.

Returns:
The value of the Filters property for this object.

setFilters

public void setFilters(Collection<Filter> filters)
Sets the value of the Filters property for this object.

Parameters:
filters - The new value for the Filters property for this object.

withFilters

public DescribePlacementGroupsRequest withFilters(Filter... filters)
Sets the value of the Filters property for this object.

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

Parameters:
filters - The new value for the Filters property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribePlacementGroupsRequest withFilters(Collection<Filter> filters)
Sets the value of the Filters property for this object.

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

Parameters:
filters - The new value for the Filters property for this object.
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.