@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSecurityKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSecurityKeysResult() |
Modifier and Type | Method and Description |
---|---|
ListSecurityKeysResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<SecurityKey> |
getSecurityKeys()
The security keys.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setSecurityKeys(Collection<SecurityKey> securityKeys)
The security keys.
|
String |
toString()
Returns a string representation of this object.
|
ListSecurityKeysResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListSecurityKeysResult |
withSecurityKeys(Collection<SecurityKey> securityKeys)
The security keys.
|
ListSecurityKeysResult |
withSecurityKeys(SecurityKey... securityKeys)
The security keys.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecurityKey> getSecurityKeys()
The security keys.
public void setSecurityKeys(Collection<SecurityKey> securityKeys)
The security keys.
securityKeys
- The security keys.public ListSecurityKeysResult withSecurityKeys(SecurityKey... securityKeys)
The security keys.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityKeys(java.util.Collection)
or withSecurityKeys(java.util.Collection)
if you want to
override the existing values.
securityKeys
- The security keys.public ListSecurityKeysResult withSecurityKeys(Collection<SecurityKey> securityKeys)
The security keys.
securityKeys
- The security keys.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListSecurityKeysResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListSecurityKeysResult clone()