Interface DescribeCertificateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCertificateResponse.Builder,,DescribeCertificateResponse> DirectoryResponse.Builder,SdkBuilder<DescribeCertificateResponse.Builder,,DescribeCertificateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeCertificateResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaCertificate.builder().When the
Consumercompletes,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:
-