Interface DescribeCertificateAuthorityResponse.Builder
- All Superinterfaces:
AcmPcaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCertificateAuthorityResponse.Builder,
,DescribeCertificateAuthorityResponse> SdkBuilder<DescribeCertificateAuthorityResponse.Builder,
,DescribeCertificateAuthorityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCertificateAuthorityResponse
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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
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.Builder
avoiding the need to create one manually viaCertificateAuthority.builder()
.When the
Consumer
completes,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:
-