@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHapgsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListHapgsResult() |
Modifier and Type | Method and Description |
---|---|
ListHapgsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getHapgList()
The list of high-availability partition groups.
|
String |
getNextToken()
If not null, more results are available.
|
int |
hashCode() |
void |
setHapgList(Collection<String> hapgList)
The list of high-availability partition groups.
|
void |
setNextToken(String nextToken)
If not null, more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListHapgsResult |
withHapgList(Collection<String> hapgList)
The list of high-availability partition groups.
|
ListHapgsResult |
withHapgList(String... hapgList)
The list of high-availability partition groups.
|
ListHapgsResult |
withNextToken(String nextToken)
If not null, more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getHapgList()
The list of high-availability partition groups.
public void setHapgList(Collection<String> hapgList)
The list of high-availability partition groups.
hapgList
- The list of high-availability partition groups.public ListHapgsResult withHapgList(String... hapgList)
The list of high-availability partition groups.
NOTE: This method appends the values to the existing list (if any). Use
setHapgList(java.util.Collection)
or withHapgList(java.util.Collection)
if you want to override
the existing values.
hapgList
- The list of high-availability partition groups.public ListHapgsResult withHapgList(Collection<String> hapgList)
The list of high-availability partition groups.
hapgList
- The list of high-availability partition groups.public void setNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHapgs
to retrieve the next set of
items.
nextToken
- If not null, more results are available. Pass this value to ListHapgs
to retrieve the next
set of items.public String getNextToken()
If not null, more results are available. Pass this value to ListHapgs
to retrieve the next set of
items.
ListHapgs
to retrieve the next
set of items.public ListHapgsResult withNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHapgs
to retrieve the next set of
items.
nextToken
- If not null, more results are available. Pass this value to ListHapgs
to retrieve the next
set of items.public String toString()
toString
in class Object
Object.toString()
public ListHapgsResult clone()