Interface ListCertificatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCertificatesResponse.Builder,
,ListCertificatesResponse> IotResponse.Builder
,SdkBuilder<ListCertificatesResponse.Builder,
,ListCertificatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCertificatesResponse
public static interface ListCertificatesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListCertificatesResponse.Builder,ListCertificatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificates
(Collection<Certificate> certificates) The descriptions of the certificates.certificates
(Consumer<Certificate.Builder>... certificates) The descriptions of the certificates.certificates
(Certificate... certificates) The descriptions of the certificates.nextMarker
(String nextMarker) The marker for the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
The descriptions of the certificates.
- Parameters:
certificates
- The descriptions of the certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
The descriptions of the certificates.
- Parameters:
certificates
- The descriptions of the certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
The descriptions of the certificates.
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:
-
nextMarker
The marker for the next set of results, or null if there are no additional results.
- Parameters:
nextMarker
- The marker for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-