@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTrustAnchorsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTrustAnchorsResult() |
Modifier and Type | Method and Description |
---|---|
ListTrustAnchorsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates where the output should continue from, if a previous request did not show all results.
|
List<TrustAnchorDetail> |
getTrustAnchors()
A list of trust anchors.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results.
|
void |
setTrustAnchors(Collection<TrustAnchorDetail> trustAnchors)
A list of trust anchors.
|
String |
toString()
Returns a string representation of this object.
|
ListTrustAnchorsResult |
withNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results.
|
ListTrustAnchorsResult |
withTrustAnchors(Collection<TrustAnchorDetail> trustAnchors)
A list of trust anchors.
|
ListTrustAnchorsResult |
withTrustAnchors(TrustAnchorDetail... trustAnchors)
A list of trust anchors.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
nextToken
- A token that indicates where the output should continue from, if a previous request did not show all
results. To get the next results, make the request again with this value.public String getNextToken()
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
public ListTrustAnchorsResult withNextToken(String nextToken)
A token that indicates where the output should continue from, if a previous request did not show all results. To get the next results, make the request again with this value.
nextToken
- A token that indicates where the output should continue from, if a previous request did not show all
results. To get the next results, make the request again with this value.public List<TrustAnchorDetail> getTrustAnchors()
A list of trust anchors.
public void setTrustAnchors(Collection<TrustAnchorDetail> trustAnchors)
A list of trust anchors.
trustAnchors
- A list of trust anchors.public ListTrustAnchorsResult withTrustAnchors(TrustAnchorDetail... trustAnchors)
A list of trust anchors.
NOTE: This method appends the values to the existing list (if any). Use
setTrustAnchors(java.util.Collection)
or withTrustAnchors(java.util.Collection)
if you want to
override the existing values.
trustAnchors
- A list of trust anchors.public ListTrustAnchorsResult withTrustAnchors(Collection<TrustAnchorDetail> trustAnchors)
A list of trust anchors.
trustAnchors
- A list of trust anchors.public String toString()
toString
in class Object
Object.toString()
public ListTrustAnchorsResult clone()