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 ListHapgsResultclone()booleanequals(Object obj)List<String>getHapgList()The list of high-availability partition groups.StringgetNextToken()If not null, more results are available.inthashCode()voidsetHapgList(Collection<String> hapgList)The list of high-availability partition groups.voidsetNextToken(String nextToken)If not null, more results are available.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListHapgsResultwithHapgList(String... hapgList)The list of high-availability partition groups.ListHapgsResultwithHapgList(Collection<String> hapgList)The list of high-availability partition groups.ListHapgsResultwithNextToken(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListHapgsResult clone()
-
-