Class ListHsmsResult
- java.lang.Object
-
- com.amazonaws.services.cloudhsm.model.ListHsmsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListHsmsResult extends Object implements Serializable, Cloneable
Contains the output of the ListHsms operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListHsmsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListHsmsResultclone()booleanequals(Object obj)List<String>getHsmList()The list of ARNs that identify the HSMs.StringgetNextToken()If not null, more results are available.inthashCode()voidsetHsmList(Collection<String> hsmList)The list of ARNs that identify the HSMs.voidsetNextToken(String nextToken)If not null, more results are available.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListHsmsResultwithHsmList(String... hsmList)The list of ARNs that identify the HSMs.ListHsmsResultwithHsmList(Collection<String> hsmList)The list of ARNs that identify the HSMs.ListHsmsResultwithNextToken(String nextToken)If not null, more results are available.
-
-
-
Method Detail
-
getHsmList
public List<String> getHsmList()
The list of ARNs that identify the HSMs.
- Returns:
- The list of ARNs that identify the HSMs.
-
setHsmList
public void setHsmList(Collection<String> hsmList)
The list of ARNs that identify the HSMs.
- Parameters:
hsmList- The list of ARNs that identify the HSMs.
-
withHsmList
public ListHsmsResult withHsmList(String... hsmList)
The list of ARNs that identify the HSMs.
NOTE: This method appends the values to the existing list (if any). Use
setHsmList(java.util.Collection)orwithHsmList(java.util.Collection)if you want to override the existing values.- Parameters:
hsmList- The list of ARNs that identify the HSMs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withHsmList
public ListHsmsResult withHsmList(Collection<String> hsmList)
The list of ARNs that identify the HSMs.
- Parameters:
hsmList- The list of ARNs that identify the HSMs.- 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 ListHsms to retrieve the next set of items.
- Parameters:
nextToken- If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
-
getNextToken
public String getNextToken()
If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
- Returns:
- If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
-
withNextToken
public ListHsmsResult withNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
- Parameters:
nextToken- If not null, more results are available. Pass this value to ListHsms 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 ListHsmsResult clone()
-
-