Class ListHsmsResult
java.lang.Object
com.amazonaws.services.cloudhsm.model.ListHsmsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of the ListHsms operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of ARNs that identify the HSMs.If not null, more results are available.int
hashCode()
void
setHsmList
(Collection<String> hsmList) The list of ARNs that identify the HSMs.void
setNextToken
(String nextToken) If not null, more results are available.toString()
Returns a string representation of this object; useful for testing and debugging.withHsmList
(String... hsmList) The list of ARNs that identify the HSMs.withHsmList
(Collection<String> hsmList) The list of ARNs that identify the HSMs.withNextToken
(String nextToken) If not null, more results are available.
-
Constructor Details
-
ListHsmsResult
public ListHsmsResult()
-
-
Method Details
-
getHsmList
The list of ARNs that identify the HSMs.
- Returns:
- The list of ARNs that identify the HSMs.
-
setHsmList
The list of ARNs that identify the HSMs.
- Parameters:
hsmList
- The list of ARNs that identify the HSMs.
-
withHsmList
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-