Interface DescribeCertificateAuthorityResponse.Builder
- All Superinterfaces:
AcmPcaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCertificateAuthorityResponse.Builder,,DescribeCertificateAuthorityResponse> SdkBuilder<DescribeCertificateAuthorityResponse.Builder,,DescribeCertificateAuthorityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeCertificateAuthorityResponse
@Mutable
@NotThreadSafe
public static interface DescribeCertificateAuthorityResponse.Builder
extends AcmPcaResponse.Builder, SdkPojo, CopyableBuilder<DescribeCertificateAuthorityResponse.Builder,DescribeCertificateAuthorityResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAuthority(Consumer<CertificateAuthority.Builder> certificateAuthority) A CertificateAuthority structure that contains information about your private CA.certificateAuthority(CertificateAuthority certificateAuthority) A CertificateAuthority structure that contains information about your private CA.Methods inherited from interface software.amazon.awssdk.services.acmpca.model.AcmPcaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
certificateAuthority
DescribeCertificateAuthorityResponse.Builder certificateAuthority(CertificateAuthority certificateAuthority) A CertificateAuthority structure that contains information about your private CA.
- Parameters:
certificateAuthority- A CertificateAuthority structure that contains information about your private CA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAuthority
default DescribeCertificateAuthorityResponse.Builder certificateAuthority(Consumer<CertificateAuthority.Builder> certificateAuthority) A CertificateAuthority structure that contains information about your private CA.
This is a convenience method that creates an instance of theCertificateAuthority.Builderavoiding the need to create one manually viaCertificateAuthority.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateAuthority(CertificateAuthority).- Parameters:
certificateAuthority- a consumer that will call methods onCertificateAuthority.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-