Class CfnCertificate.CustomExtensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificate.CustomExtensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate.CustomExtensionProperty>
- Enclosing interface:
CfnCertificate.CustomExtensionProperty
@Stability(Stable)
public static final class CfnCertificate.CustomExtensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate.CustomExtensionProperty>
A builder for
CfnCertificate.CustomExtensionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCertificate.CustomExtensionProperty.getCritical()
critical
(IResolvable critical) Sets the value ofCfnCertificate.CustomExtensionProperty.getCritical()
objectIdentifier
(String objectIdentifier) Sets the value ofCfnCertificate.CustomExtensionProperty.getObjectIdentifier()
Sets the value ofCfnCertificate.CustomExtensionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
objectIdentifier
@Stability(Stable) public CfnCertificate.CustomExtensionProperty.Builder objectIdentifier(String objectIdentifier) Sets the value ofCfnCertificate.CustomExtensionProperty.getObjectIdentifier()
- Parameters:
objectIdentifier
- Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnCertificate.CustomExtensionProperty.getValue()
- Parameters:
value
- Specifies the base64-encoded value of the X.509 extension. This parameter is required.- Returns:
this
-
critical
Sets the value ofCfnCertificate.CustomExtensionProperty.getCritical()
- Parameters:
critical
- Specifies the critical flag of the X.509 extension.- Returns:
this
-
critical
@Stability(Stable) public CfnCertificate.CustomExtensionProperty.Builder critical(IResolvable critical) Sets the value ofCfnCertificate.CustomExtensionProperty.getCritical()
- Parameters:
critical
- Specifies the critical flag of the X.509 extension.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificate.CustomExtensionProperty>
- Returns:
- a new instance of
CfnCertificate.CustomExtensionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-