Class ListPublicKeysResult
- java.lang.Object
-
- com.amazonaws.services.cloudtrail.model.ListPublicKeysResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListPublicKeysResult extends Object implements Serializable, Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListPublicKeysResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPublicKeysResultclone()booleanequals(Object obj)StringgetNextToken()Reserved for future use.List<PublicKey>getPublicKeyList()Contains an array of PublicKey objects.inthashCode()voidsetNextToken(String nextToken)Reserved for future use.voidsetPublicKeyList(Collection<PublicKey> publicKeyList)Contains an array of PublicKey objects.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListPublicKeysResultwithNextToken(String nextToken)Reserved for future use.ListPublicKeysResultwithPublicKeyList(PublicKey... publicKeyList)Contains an array of PublicKey objects.ListPublicKeysResultwithPublicKeyList(Collection<PublicKey> publicKeyList)Contains an array of PublicKey objects.
-
-
-
Method Detail
-
getPublicKeyList
public List<PublicKey> getPublicKeyList()
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
- Returns:
- Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
-
setPublicKeyList
public void setPublicKeyList(Collection<PublicKey> publicKeyList)
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
- Parameters:
publicKeyList- Contains an array of PublicKey objects.The returned public keys may have validity time ranges that overlap.
-
withPublicKeyList
public ListPublicKeysResult withPublicKeyList(PublicKey... publicKeyList)
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
NOTE: This method appends the values to the existing list (if any). Use
setPublicKeyList(java.util.Collection)orwithPublicKeyList(java.util.Collection)if you want to override the existing values.- Parameters:
publicKeyList- Contains an array of PublicKey objects.The returned public keys may have validity time ranges that overlap.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPublicKeyList
public ListPublicKeysResult withPublicKeyList(Collection<PublicKey> publicKeyList)
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
- Parameters:
publicKeyList- Contains an array of PublicKey objects.The returned public keys may have validity time ranges that overlap.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
Reserved for future use.
- Parameters:
nextToken- Reserved for future use.
-
getNextToken
public String getNextToken()
Reserved for future use.
- Returns:
- Reserved for future use.
-
withNextToken
public ListPublicKeysResult withNextToken(String nextToken)
Reserved for future use.
- Parameters:
nextToken- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPublicKeysResult clone()
-
-