Class CfnCertificatePropsMixin.ExtensionsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.acmpca.mixins.CfnCertificatePropsMixin.ExtensionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificatePropsMixin.ExtensionsProperty>
- Enclosing interface:
CfnCertificatePropsMixin.ExtensionsProperty
@Stability(Stable)
public static final class CfnCertificatePropsMixin.ExtensionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificatePropsMixin.ExtensionsProperty>
A builder for
CfnCertificatePropsMixin.ExtensionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificatePolicies(List<? extends Object> certificatePolicies) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCertificatePolicies()certificatePolicies(IResolvable certificatePolicies) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCertificatePolicies()customExtensions(List<? extends Object> customExtensions) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCustomExtensions()customExtensions(IResolvable customExtensions) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCustomExtensions()extendedKeyUsage(List<? extends Object> extendedKeyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getExtendedKeyUsage()extendedKeyUsage(IResolvable extendedKeyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getExtendedKeyUsage()keyUsage(IResolvable keyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getKeyUsage()Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getKeyUsage()subjectAlternativeNames(List<? extends Object> subjectAlternativeNames) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getSubjectAlternativeNames()subjectAlternativeNames(IResolvable subjectAlternativeNames) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getSubjectAlternativeNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificatePolicies
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder certificatePolicies(IResolvable certificatePolicies) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCertificatePolicies()- Parameters:
certificatePolicies- Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID) .In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- Returns:
this
-
certificatePolicies
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder certificatePolicies(List<? extends Object> certificatePolicies) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCertificatePolicies()- Parameters:
certificatePolicies- Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID) .In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- Returns:
this
-
customExtensions
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder customExtensions(IResolvable customExtensions) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCustomExtensions()- Parameters:
customExtensions- Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database..- Returns:
this
-
customExtensions
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder customExtensions(List<? extends Object> customExtensions) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getCustomExtensions()- Parameters:
customExtensions- Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database..- Returns:
this
-
extendedKeyUsage
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder extendedKeyUsage(IResolvable extendedKeyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getExtendedKeyUsage()- Parameters:
extendedKeyUsage- Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.- Returns:
this
-
extendedKeyUsage
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder extendedKeyUsage(List<? extends Object> extendedKeyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getExtendedKeyUsage()- Parameters:
extendedKeyUsage- Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.- Returns:
this
-
keyUsage
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder keyUsage(IResolvable keyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getKeyUsage()- Parameters:
keyUsage- Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.- Returns:
this
-
keyUsage
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder keyUsage(CfnCertificatePropsMixin.KeyUsageProperty keyUsage) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getKeyUsage()- Parameters:
keyUsage- Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.- Returns:
this
-
subjectAlternativeNames
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder subjectAlternativeNames(IResolvable subjectAlternativeNames) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getSubjectAlternativeNames()- Parameters:
subjectAlternativeNames- The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.- Returns:
this
-
subjectAlternativeNames
@Stability(Stable) public CfnCertificatePropsMixin.ExtensionsProperty.Builder subjectAlternativeNames(List<? extends Object> subjectAlternativeNames) Sets the value ofCfnCertificatePropsMixin.ExtensionsProperty.getSubjectAlternativeNames()- Parameters:
subjectAlternativeNames- The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificatePropsMixin.ExtensionsProperty>- Returns:
- a new instance of
CfnCertificatePropsMixin.ExtensionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-