Interface DescribeCertificatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCertificatesResponse.Builder,
,DescribeCertificatesResponse> DocDbResponse.Builder
,SdkBuilder<DescribeCertificatesResponse.Builder,
,DescribeCertificatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCertificatesResponse
public static interface DescribeCertificatesResponse.Builder
extends DocDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeCertificatesResponse.Builder,DescribeCertificatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificates
(Collection<Certificate> certificates) A list of certificates for this Amazon Web Services account.certificates
(Consumer<Certificate.Builder>... certificates) A list of certificates for this Amazon Web Services account.certificates
(Certificate... certificates) A list of certificates for this Amazon Web Services account.An optional pagination token provided if the number of records retrieved is greater thanMaxRecords
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
certificates
A list of certificates for this Amazon Web Services account.
- Parameters:
certificates
- A list of certificates for this Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
A list of certificates for this Amazon Web Services account.
- Parameters:
certificates
- A list of certificates for this Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
A list of certificates for this Amazon Web Services account.
This is a convenience method that creates an instance of theCertificate.Builder
avoiding the need to create one manually viaCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificates(List<Certificate>)
.- Parameters:
certificates
- a consumer that will call methods onCertificate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An optional pagination token provided if the number of records retrieved is greater than
MaxRecords
. If this parameter is specified, the marker specifies the next record in the list. Including the value ofMarker
in the next call toDescribeCertificates
results in the next page of certificates.- Parameters:
marker
- An optional pagination token provided if the number of records retrieved is greater thanMaxRecords
. If this parameter is specified, the marker specifies the next record in the list. Including the value ofMarker
in the next call toDescribeCertificates
results in the next page of certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-