Interface ListCertificatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCertificatesResponse.Builder,
,ListCertificatesResponse> SdkBuilder<ListCertificatesResponse.Builder,
,ListCertificatesResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
ListCertificatesResponse
public static interface ListCertificatesResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListCertificatesResponse.Builder,ListCertificatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificates
(Collection<ListedCertificate> certificates) Returns an array of the certificates that are specified in theListCertificates
call.certificates
(Consumer<ListedCertificate.Builder>... certificates) Returns an array of the certificates that are specified in theListCertificates
call.certificates
(ListedCertificate... certificates) Returns an array of the certificates that are specified in theListCertificates
call.Returns the next token, which you can use to list the next certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
Returns the next token, which you can use to list the next certificate.
- Parameters:
nextToken
- Returns the next token, which you can use to list the next certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
Returns an array of the certificates that are specified in the
ListCertificates
call.- Parameters:
certificates
- Returns an array of the certificates that are specified in theListCertificates
call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
Returns an array of the certificates that are specified in the
ListCertificates
call.- Parameters:
certificates
- Returns an array of the certificates that are specified in theListCertificates
call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
Returns an array of the certificates that are specified in the
This is a convenience method that creates an instance of theListCertificates
call.ListedCertificate.Builder
avoiding the need to create one manually viaListedCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificates(List<ListedCertificate>)
.- Parameters:
certificates
- a consumer that will call methods onListedCertificate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-