Class CfnCertificate.ExtendedKeyUsageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificate.ExtendedKeyUsageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificate.ExtendedKeyUsageProperty>
- Enclosing interface:
- CfnCertificate.ExtendedKeyUsageProperty
@Stability(Stable)
public static final class CfnCertificate.ExtendedKeyUsageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificate.ExtendedKeyUsageProperty>
A builder for
CfnCertificate.ExtendedKeyUsageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.extendedKeyUsageObjectIdentifier
(String extendedKeyUsageObjectIdentifier) extendedKeyUsageType
(String extendedKeyUsageType) Sets the value ofCfnCertificate.ExtendedKeyUsageProperty.getExtendedKeyUsageType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extendedKeyUsageObjectIdentifier
@Stability(Stable) public CfnCertificate.ExtendedKeyUsageProperty.Builder extendedKeyUsageObjectIdentifier(String extendedKeyUsageObjectIdentifier) - Parameters:
extendedKeyUsageObjectIdentifier
- Specifies a customExtendedKeyUsage
with an object identifier (OID).- Returns:
this
-
extendedKeyUsageType
@Stability(Stable) public CfnCertificate.ExtendedKeyUsageProperty.Builder extendedKeyUsageType(String extendedKeyUsageType) Sets the value ofCfnCertificate.ExtendedKeyUsageProperty.getExtendedKeyUsageType()
- Parameters:
extendedKeyUsageType
- Specifies a standardExtendedKeyUsage
as defined as in RFC 5280 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificate.ExtendedKeyUsageProperty>
- Returns:
- a new instance of
CfnCertificate.ExtendedKeyUsageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-