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 theListCertificatescall.certificates(Consumer<ListedCertificate.Builder>... certificates) Returns an array of the certificates that are specified in theListCertificatescall.certificates(ListedCertificate... certificates) Returns an array of the certificates that are specified in theListCertificatescall.Returns the next token, which you can use to list the next certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
ListCertificatescall.- Parameters:
certificates- Returns an array of the certificates that are specified in theListCertificatescall.- 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
ListCertificatescall.- Parameters:
certificates- Returns an array of the certificates that are specified in theListCertificatescall.- 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 theListCertificatescall.ListedCertificate.Builderavoiding the need to create one manually viaListedCertificate.builder().When the
Consumercompletes,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:
-