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) IfNextPageToken
is returned there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.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
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.Builder
avoiding the need to create one manually viaCertificateSummary.builder()
.When the
Consumer
completes,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
NextPageToken
is returned there are more results available. The value ofNextPageToken
is 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
- IfNextPageToken
is returned there are more results available. The value ofNextPageToken
is 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.
-