Interface DescribeCertificateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCertificateResponse.Builder,
,DescribeCertificateResponse> DirectoryResponse.Builder
,SdkBuilder<DescribeCertificateResponse.Builder,
,DescribeCertificateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCertificateResponse
public static interface DescribeCertificateResponse.Builder
extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<DescribeCertificateResponse.Builder,DescribeCertificateResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificate
(Consumer<Certificate.Builder> certificate) Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.certificate
(Certificate certificate) Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.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
-
certificate
Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.
- Parameters:
certificate
- Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.
This is a convenience method that creates an instance of theCertificate.Builder
avoiding the need to create one manually viaCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificate(Certificate)
.- Parameters:
certificate
- a consumer that will call methods onCertificate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-