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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCertificatesResponse.Buildercertificates(Collection<CertificateSummary> certificates)An object that describes certificates.GetCertificatesResponse.Buildercertificates(Consumer<CertificateSummary.Builder>... certificates)An object that describes certificates.GetCertificatesResponse.Buildercertificates(CertificateSummary... certificates)An object that describes certificates.GetCertificatesResponse.BuildernextPageToken(String nextPageToken)IfNextPageTokenis 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 Detail
-
certificates
GetCertificatesResponse.Builder certificates(Collection<CertificateSummary> 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
GetCertificatesResponse.Builder certificates(CertificateSummary... 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
GetCertificatesResponse.Builder certificates(Consumer<CertificateSummary.Builder>... 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 to#certificates(List.) - 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:
#certificates(java.util.Collection)
-
nextPageToken
GetCertificatesResponse.Builder nextPageToken(String 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.
-
-