com.amazonaws.services.ec2.model
Class DescribePlacementGroupsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribePlacementGroupsRequest
All Implemented Interfaces:
DryRunSupportedRequest<DescribePlacementGroupsRequest>, java.io.Serializable

public class DescribePlacementGroupsRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DescribePlacementGroupsRequest>

Container for the parameters to the DescribePlacementGroups operation.

Describes one or more of your placement groups. For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide .

See Also:
AmazonEC2.describePlacementGroups(DescribePlacementGroupsRequest), Serialized Form

Constructor Summary
DescribePlacementGroupsRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DescribePlacementGroupsRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.util.List<Filter> getFilters()
          One or more filters.
 java.util.List<java.lang.String> getGroupNames()
          One or more placement group names.
 int hashCode()
           
 void setFilters(java.util.Collection<Filter> filters)
          One or more filters.
 void setGroupNames(java.util.Collection<java.lang.String> groupNames)
          One or more placement group names.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribePlacementGroupsRequest withFilters(java.util.Collection<Filter> filters)
          One or more filters.
 DescribePlacementGroupsRequest withFilters(Filter... filters)
          One or more filters.
 DescribePlacementGroupsRequest withGroupNames(java.util.Collection<java.lang.String> groupNames)
          One or more placement group names.
 DescribePlacementGroupsRequest withGroupNames(java.lang.String... groupNames)
          One or more placement group names.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribePlacementGroupsRequest

public DescribePlacementGroupsRequest()
Method Detail

getGroupNames

public java.util.List<java.lang.String> getGroupNames()
One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

Returns:
One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.


setGroupNames

public void setGroupNames(java.util.Collection<java.lang.String> groupNames)
One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

Parameters:
groupNames - One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.


withGroupNames

public DescribePlacementGroupsRequest withGroupNames(java.lang.String... groupNames)
One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

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

Parameters:
groupNames - One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

Returns:
A reference to this updated object so that method calls can be chained together.

withGroupNames

public DescribePlacementGroupsRequest withGroupNames(java.util.Collection<java.lang.String> groupNames)
One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

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

Parameters:
groupNames - One or more placement group names.

Default: Describes all your placement groups, or only those otherwise specified.

Returns:
A reference to this updated object so that method calls can be chained together.

getFilters

public java.util.List<Filter> getFilters()
One or more filters.

Returns:
One or more filters.
  • group-name - The name of the placement group.

  • state - The state of the placement group (pending | available | deleting | deleted).

  • strategy - The strategy of the placement group (cluster).


setFilters

public void setFilters(java.util.Collection<Filter> filters)
One or more filters.

Parameters:
filters - One or more filters.
  • group-name - The name of the placement group.

  • state - The state of the placement group (pending | available | deleting | deleted).

  • strategy - The strategy of the placement group (cluster).


withFilters

public DescribePlacementGroupsRequest withFilters(Filter... filters)
One or more filters.

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

Parameters:
filters - One or more filters.
  • group-name - The name of the placement group.

  • state - The state of the placement group (pending | available | deleting | deleted).

  • strategy - The strategy of the placement group (cluster).

Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribePlacementGroupsRequest withFilters(java.util.Collection<Filter> filters)
One or more filters.

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

Parameters:
filters - One or more filters.
  • group-name - The name of the placement group.

  • state - The state of the placement group (pending | available | deleting | deleted).

  • strategy - The strategy of the placement group (cluster).

Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DescribePlacementGroupsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DescribePlacementGroupsRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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