public class ListHsmsResult extends Object implements Serializable, Cloneable
Contains the output of the ListHsms operation.
Constructor and Description |
---|
ListHsmsResult() |
Modifier and Type | Method and Description |
---|---|
ListHsmsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getHsmList()
The list of ARNs that identify the HSMs.
|
String |
getNextToken()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListHsmsResult |
withHsmList(Collection<String> hsmList)
The list of ARNs that identify the HSMs.
|
ListHsmsResult |
withHsmList(String... hsmList)
The list of ARNs that identify the HSMs.
|
ListHsmsResult |
withNextToken(String nextToken)
If not null, more results are available.
|
public List<String> getHsmList()
The list of ARNs that identify the HSMs.
public void setHsmList(Collection<String> hsmList)
The list of ARNs that identify the HSMs.
hsmList
- The list of ARNs that identify the HSMs.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)
or
withHsmList(java.util.Collection)
if you want to override the
existing values.
hsmList
- The list of ARNs that identify the HSMs.public ListHsmsResult withHsmList(Collection<String> hsmList)
The list of ARNs that identify the HSMs.
hsmList
- The list of ARNs that identify the HSMs.public void setNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
nextToken
- If not null, more results are available. Pass this value to
ListHsms to retrieve the next set of items.public String getNextToken()
If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
public ListHsmsResult withNextToken(String nextToken)
If not null, more results are available. Pass this value to ListHsms to retrieve the next set of items.
nextToken
- If not null, more results are available. Pass this value to
ListHsms to retrieve the next set of items.public String toString()
toString
in class Object
Object.toString()
public ListHsmsResult clone()
Copyright © 2018. All rights reserved.