public class ListHsmsResult extends Object implements Serializable, Cloneable
Contains the output of the ListHsms action.
| 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()
public void setHsmList(Collection<String> hsmList)
hsmList - The list of ARNs that identify the HSMs.public ListHsmsResult withHsmList(String... hsmList)
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.
Returns a reference to this object so that method calls can be chained together.
hsmList - The list of ARNs that identify the HSMs.public ListHsmsResult withHsmList(Collection<String> hsmList)
Returns a reference to this object so that method calls can be chained together.
hsmList - The list of ARNs that identify the HSMs.public String getNextToken()
Constraints:
Pattern: [a-zA-Z0-9+/]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [a-zA-Z0-9+/]*
nextToken - If not null, more results are available. Pass this value to
ListHsms to retrieve the next set of items.public ListHsmsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z0-9+/]*
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 ObjectObject.toString()public ListHsmsResult clone()
Copyright © 2015. All rights reserved.