Class CfnCertificate.PolicyInformationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificate.PolicyInformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate.PolicyInformationProperty>
- Enclosing interface:
CfnCertificate.PolicyInformationProperty
@Stability(Stable)
public static final class CfnCertificate.PolicyInformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate.PolicyInformationProperty>
A builder for
CfnCertificate.PolicyInformationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certPolicyId
(String certPolicyId) Sets the value ofCfnCertificate.PolicyInformationProperty.getCertPolicyId()
policyQualifiers
(List<? extends Object> policyQualifiers) Sets the value ofCfnCertificate.PolicyInformationProperty.getPolicyQualifiers()
policyQualifiers
(IResolvable policyQualifiers) Sets the value ofCfnCertificate.PolicyInformationProperty.getPolicyQualifiers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certPolicyId
@Stability(Stable) public CfnCertificate.PolicyInformationProperty.Builder certPolicyId(String certPolicyId) Sets the value ofCfnCertificate.PolicyInformationProperty.getCertPolicyId()
- Parameters:
certPolicyId
- Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. This parameter is required. For more information, see NIST's definition of Object Identifier (OID) .- Returns:
this
-
policyQualifiers
@Stability(Stable) public CfnCertificate.PolicyInformationProperty.Builder policyQualifiers(IResolvable policyQualifiers) Sets the value ofCfnCertificate.PolicyInformationProperty.getPolicyQualifiers()
- Parameters:
policyQualifiers
- Modifies the givenCertPolicyId
with a qualifier. AWS Private CA supports the certification practice statement (CPS) qualifier.- Returns:
this
-
policyQualifiers
@Stability(Stable) public CfnCertificate.PolicyInformationProperty.Builder policyQualifiers(List<? extends Object> policyQualifiers) Sets the value ofCfnCertificate.PolicyInformationProperty.getPolicyQualifiers()
- Parameters:
policyQualifiers
- Modifies the givenCertPolicyId
with a qualifier. AWS Private CA supports the certification practice statement (CPS) qualifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificate.PolicyInformationProperty>
- Returns:
- a new instance of
CfnCertificate.PolicyInformationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-