Interface GetCertificatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCertificatesResponse.Builder,,GetCertificatesResponse> LightsailResponse.Builder,SdkBuilder<GetCertificatesResponse.Builder,,GetCertificatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCertificatesResponse
public static interface GetCertificatesResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetCertificatesResponse.Builder,GetCertificatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificates(Collection<CertificateSummary> certificates) An object that describes certificates.certificates(Consumer<CertificateSummary.Builder>... certificates) An object that describes certificates.certificates(CertificateSummary... certificates) An object that describes certificates.nextPageToken(String nextPageToken) IfNextPageTokenis returned there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
certificates
An object that describes certificates.
- Parameters:
certificates- An object that describes certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
An object that describes certificates.
- Parameters:
certificates- An object that describes certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
An object that describes certificates.
This is a convenience method that creates an instance of theCertificateSummary.Builderavoiding the need to create one manually viaCertificateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificates(List<CertificateSummary>).- Parameters:
certificates- a consumer that will call methods onCertificateSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
If
NextPageTokenis returned there are more results available. The value ofNextPageTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Parameters:
nextPageToken- IfNextPageTokenis returned there are more results available. The value ofNextPageTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-