@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCertificatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Data returned by the DescribeCertificates action.
Constructor and Description |
---|
DescribeCertificatesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCertificatesResult |
clone() |
boolean |
equals(Object obj) |
List<Certificate> |
getCertificates()
The list of
Certificate objects for the Amazon Web Services account. |
String |
getMarker()
An optional pagination token provided by a previous
DescribeCertificates request. |
int |
hashCode() |
void |
setCertificates(Collection<Certificate> certificates)
The list of
Certificate objects for the Amazon Web Services account. |
void |
setMarker(String marker)
An optional pagination token provided by a previous
DescribeCertificates request. |
String |
toString()
Returns a string representation of this object.
|
DescribeCertificatesResult |
withCertificates(Certificate... certificates)
The list of
Certificate objects for the Amazon Web Services account. |
DescribeCertificatesResult |
withCertificates(Collection<Certificate> certificates)
The list of
Certificate objects for the Amazon Web Services account. |
DescribeCertificatesResult |
withMarker(String marker)
An optional pagination token provided by a previous
DescribeCertificates request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Certificate> getCertificates()
The list of Certificate
objects for the Amazon Web Services account.
Certificate
objects for the Amazon Web Services account.public void setCertificates(Collection<Certificate> certificates)
The list of Certificate
objects for the Amazon Web Services account.
certificates
- The list of Certificate
objects for the Amazon Web Services account.public DescribeCertificatesResult withCertificates(Certificate... certificates)
The list of Certificate
objects for the Amazon Web Services account.
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
- The list of Certificate
objects for the Amazon Web Services account.public DescribeCertificatesResult withCertificates(Collection<Certificate> certificates)
The list of Certificate
objects for the Amazon Web Services account.
certificates
- The list of Certificate
objects for the Amazon Web Services account.public void setMarker(String marker)
An optional pagination token provided by a previous DescribeCertificates
request. If this parameter
is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
marker
- An optional pagination token provided by a previous DescribeCertificates
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.public String getMarker()
An optional pagination token provided by a previous DescribeCertificates
request. If this parameter
is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
DescribeCertificates
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified
by MaxRecords
.public DescribeCertificatesResult withMarker(String marker)
An optional pagination token provided by a previous DescribeCertificates
request. If this parameter
is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.
marker
- An optional pagination token provided by a previous DescribeCertificates
request. If this
parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.public String toString()
toString
in class Object
Object.toString()
public DescribeCertificatesResult clone()