@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPublicKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPublicKeysResult() |
Modifier and Type | Method and Description |
---|---|
ListPublicKeysResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are more public keys than
maxResults , use nextToken in the request to get the
next set. |
List<PublicKeySummary> |
getPublicKeys()
List of the matching public keys (summary information only).
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more public keys than
maxResults , use nextToken in the request to get the
next set. |
void |
setPublicKeys(Collection<PublicKeySummary> publicKeys)
List of the matching public keys (summary information only).
|
String |
toString()
Returns a string representation of this object.
|
ListPublicKeysResult |
withNextToken(String nextToken)
If there are more public keys than
maxResults , use nextToken in the request to get the
next set. |
ListPublicKeysResult |
withPublicKeys(Collection<PublicKeySummary> publicKeys)
List of the matching public keys (summary information only).
|
ListPublicKeysResult |
withPublicKeys(PublicKeySummary... publicKeys)
List of the matching public keys (summary information only).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PublicKeySummary> getPublicKeys()
List of the matching public keys (summary information only).
public void setPublicKeys(Collection<PublicKeySummary> publicKeys)
List of the matching public keys (summary information only).
publicKeys
- List of the matching public keys (summary information only).public ListPublicKeysResult withPublicKeys(PublicKeySummary... publicKeys)
List of the matching public keys (summary information only).
NOTE: This method appends the values to the existing list (if any). Use
setPublicKeys(java.util.Collection)
or withPublicKeys(java.util.Collection)
if you want to
override the existing values.
publicKeys
- List of the matching public keys (summary information only).public ListPublicKeysResult withPublicKeys(Collection<PublicKeySummary> publicKeys)
List of the matching public keys (summary information only).
publicKeys
- List of the matching public keys (summary information only).public void setNextToken(String nextToken)
If there are more public keys than maxResults
, use nextToken
in the request to get the
next set.
nextToken
- If there are more public keys than maxResults
, use nextToken
in the request to
get the next set.public String getNextToken()
If there are more public keys than maxResults
, use nextToken
in the request to get the
next set.
maxResults
, use nextToken
in the request to
get the next set.public ListPublicKeysResult withNextToken(String nextToken)
If there are more public keys than maxResults
, use nextToken
in the request to get the
next set.
nextToken
- If there are more public keys than maxResults
, use nextToken
in the request to
get the next set.public String toString()
toString
in class Object
Object.toString()
public ListPublicKeysResult clone()