public class ListHapgsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
hapgList
The list of high-availability partition groups.
|
private java.lang.String |
nextToken
If not null, more results are available.
|
Constructor and Description |
---|
ListHapgsResult() |
Modifier and Type | Method and Description |
---|---|
ListHapgsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getHapgList()
The list of high-availability partition groups.
|
java.lang.String |
getNextToken()
If not null, more results are available.
|
int |
hashCode() |
void |
setHapgList(java.util.Collection<java.lang.String> hapgList)
The list of high-availability partition groups.
|
void |
setNextToken(java.lang.String nextToken)
If not null, more results are available.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListHapgsResult |
withHapgList(java.util.Collection<java.lang.String> hapgList)
The list of high-availability partition groups.
|
ListHapgsResult |
withHapgList(java.lang.String... hapgList)
The list of high-availability partition groups.
|
ListHapgsResult |
withNextToken(java.lang.String nextToken)
If not null, more results are available.
|
private SdkInternalList<java.lang.String> hapgList
The list of high-availability partition groups.
private java.lang.String nextToken
If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
public java.util.List<java.lang.String> getHapgList()
The list of high-availability partition groups.
public void setHapgList(java.util.Collection<java.lang.String> hapgList)
The list of high-availability partition groups.
hapgList
- The list of high-availability partition groups.public ListHapgsResult withHapgList(java.lang.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(java.util.Collection<java.lang.String> hapgList)
The list of high-availability partition groups.
hapgList
- The list of high-availability partition groups.public void setNextToken(java.lang.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 java.lang.String getNextToken()
If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
public ListHapgsResult withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListHapgsResult clone()
clone
in class java.lang.Object