Class ListHapgsResult
- java.lang.Object
-
- com.amazonaws.services.cloudhsm.model.ListHapgsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListHapgsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListHapgsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.ListHapgsResult
withHapgList(String... hapgList)
The list of high-availability partition groups.ListHapgsResult
withHapgList(Collection<String> hapgList)
The list of high-availability partition groups.ListHapgsResult
withNextToken(String nextToken)
If not null, more results are available.
-
-
-
Method Detail
-
getHapgList
public List<String> getHapgList()
The list of high-availability partition groups.
- Returns:
- The list of high-availability partition groups.
-
setHapgList
public void setHapgList(Collection<String> hapgList)
The list of high-availability partition groups.
- Parameters:
hapgList
- The list of high-availability partition groups.
-
withHapgList
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)
orwithHapgList(java.util.Collection)
if you want to override the existing values.- Parameters:
hapgList
- The list of high-availability partition groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHapgList
public ListHapgsResult withHapgList(Collection<String> hapgList)
The list of high-availability partition groups.
- Parameters:
hapgList
- The list of high-availability partition groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
- Parameters:
nextToken
- If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
-
getNextToken
public String getNextToken()
If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
- Returns:
- If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
-
withNextToken
public ListHapgsResult withNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.
- Parameters:
nextToken
- If not null, more results are available. Pass this value to ListHapgs to retrieve the next set of items.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListHapgsResult clone()
-
-