Class CfnCertificateAuthority.CsrExtensionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificateAuthority.CsrExtensionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthority.CsrExtensionsProperty>
- Enclosing interface:
- CfnCertificateAuthority.CsrExtensionsProperty
@Stability(Stable)
public static final class CfnCertificateAuthority.CsrExtensionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateAuthority.CsrExtensionsProperty>
A builder for
CfnCertificateAuthority.CsrExtensionsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.keyUsage
(IResolvable keyUsage) Sets the value ofCfnCertificateAuthority.CsrExtensionsProperty.getKeyUsage()
Sets the value ofCfnCertificateAuthority.CsrExtensionsProperty.getKeyUsage()
subjectInformationAccess
(List<? extends Object> subjectInformationAccess) subjectInformationAccess
(IResolvable subjectInformationAccess)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyUsage
@Stability(Stable) public CfnCertificateAuthority.CsrExtensionsProperty.Builder keyUsage(IResolvable keyUsage) Sets the value ofCfnCertificateAuthority.CsrExtensionsProperty.getKeyUsage()
- Parameters:
keyUsage
- Indicates the purpose of the certificate and of the key contained in the certificate.- Returns:
this
-
keyUsage
@Stability(Stable) public CfnCertificateAuthority.CsrExtensionsProperty.Builder keyUsage(CfnCertificateAuthority.KeyUsageProperty keyUsage) Sets the value ofCfnCertificateAuthority.CsrExtensionsProperty.getKeyUsage()
- Parameters:
keyUsage
- Indicates the purpose of the certificate and of the key contained in the certificate.- Returns:
this
-
subjectInformationAccess
@Stability(Stable) public CfnCertificateAuthority.CsrExtensionsProperty.Builder subjectInformationAccess(IResolvable subjectInformationAccess) - Parameters:
subjectInformationAccess
- For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see Subject Information Access in RFC 5280.- Returns:
this
-
subjectInformationAccess
@Stability(Stable) public CfnCertificateAuthority.CsrExtensionsProperty.Builder subjectInformationAccess(List<? extends Object> subjectInformationAccess) - Parameters:
subjectInformationAccess
- For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see Subject Information Access in RFC 5280.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthority.CsrExtensionsProperty>
- Returns:
- a new instance of
CfnCertificateAuthority.CsrExtensionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-