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