@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCertificatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCertificatesResult() |
Modifier and Type | Method and Description |
---|---|
ListCertificatesResult |
clone() |
boolean |
equals(Object obj) |
List<ListedCertificate> |
getCertificates()
Returns an array of the certificates that are specified in the
ListCertificates call. |
String |
getNextToken()
Returns the next token, which you can use to list the next certificate.
|
int |
hashCode() |
void |
setCertificates(Collection<ListedCertificate> certificates)
Returns an array of the certificates that are specified in the
ListCertificates call. |
void |
setNextToken(String nextToken)
Returns the next token, which you can use to list the next certificate.
|
String |
toString()
Returns a string representation of this object.
|
ListCertificatesResult |
withCertificates(Collection<ListedCertificate> certificates)
Returns an array of the certificates that are specified in the
ListCertificates call. |
ListCertificatesResult |
withCertificates(ListedCertificate... certificates)
Returns an array of the certificates that are specified in the
ListCertificates call. |
ListCertificatesResult |
withNextToken(String nextToken)
Returns the next token, which you can use to list the next certificate.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Returns the next token, which you can use to list the next certificate.
nextToken
- Returns the next token, which you can use to list the next certificate.public String getNextToken()
Returns the next token, which you can use to list the next certificate.
public ListCertificatesResult withNextToken(String nextToken)
Returns the next token, which you can use to list the next certificate.
nextToken
- Returns the next token, which you can use to list the next certificate.public List<ListedCertificate> getCertificates()
Returns an array of the certificates that are specified in the ListCertificates
call.
ListCertificates
call.public void setCertificates(Collection<ListedCertificate> certificates)
Returns an array of the certificates that are specified in the ListCertificates
call.
certificates
- Returns an array of the certificates that are specified in the ListCertificates
call.public ListCertificatesResult withCertificates(ListedCertificate... certificates)
Returns an array of the certificates that are specified in the ListCertificates
call.
NOTE: This method appends the values to the existing list (if any). Use
setCertificates(java.util.Collection)
or withCertificates(java.util.Collection)
if you want to
override the existing values.
certificates
- Returns an array of the certificates that are specified in the ListCertificates
call.public ListCertificatesResult withCertificates(Collection<ListedCertificate> certificates)
Returns an array of the certificates that are specified in the ListCertificates
call.
certificates
- Returns an array of the certificates that are specified in the ListCertificates
call.public String toString()
toString
in class Object
Object.toString()
public ListCertificatesResult clone()