public class DescribePlacementGroupsResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribePlacementGroups.
Constructor and Description |
---|
DescribePlacementGroupsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<PlacementGroup> |
getPlacementGroups()
One or more placement groups.
|
int |
hashCode() |
void |
setPlacementGroups(java.util.Collection<PlacementGroup> placementGroups)
One or more placement groups.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePlacementGroupsResult |
withPlacementGroups(java.util.Collection<PlacementGroup> placementGroups)
One or more placement groups.
|
DescribePlacementGroupsResult |
withPlacementGroups(PlacementGroup... placementGroups)
One or more placement groups.
|
public java.util.List<PlacementGroup> getPlacementGroups()
public void setPlacementGroups(java.util.Collection<PlacementGroup> placementGroups)
placementGroups
- One or more placement groups.public DescribePlacementGroupsResult withPlacementGroups(PlacementGroup... placementGroups)
Returns a reference to this object so that method calls can be chained together.
placementGroups
- One or more placement groups.public DescribePlacementGroupsResult withPlacementGroups(java.util.Collection<PlacementGroup> placementGroups)
Returns a reference to this object so that method calls can be chained together.
placementGroups
- One or more placement groups.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.