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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCertificatesResponse.Buildercertificates(Collection<ListedCertificate> certificates)Returns an array of the certificates that are specified in theListCertificatescall.ListCertificatesResponse.Buildercertificates(Consumer<ListedCertificate.Builder>... certificates)Returns an array of the certificates that are specified in theListCertificatescall.ListCertificatesResponse.Buildercertificates(ListedCertificate... certificates)Returns an array of the certificates that are specified in theListCertificatescall.ListCertificatesResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
nextToken
ListCertificatesResponse.Builder nextToken(String 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
ListCertificatesResponse.Builder certificates(Collection<ListedCertificate> 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
ListCertificatesResponse.Builder certificates(ListedCertificate... 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
ListCertificatesResponse.Builder certificates(Consumer<ListedCertificate.Builder>... 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 to#certificates(List.) - 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:
#certificates(java.util.Collection)
-
-