Class CfnCertificateAuthority.AccessMethodProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificateAuthority.AccessMethodProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthority.AccessMethodProperty>
- Enclosing interface:
- CfnCertificateAuthority.AccessMethodProperty
@Stability(Stable)
public static final class CfnCertificateAuthority.AccessMethodProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateAuthority.AccessMethodProperty>
A builder for
CfnCertificateAuthority.AccessMethodProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessMethodType
(String accessMethodType) Sets the value ofCfnCertificateAuthority.AccessMethodProperty.getAccessMethodType()
build()
Builds the configured instance.customObjectIdentifier
(String customObjectIdentifier) Sets the value ofCfnCertificateAuthority.AccessMethodProperty.getCustomObjectIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessMethodType
@Stability(Stable) public CfnCertificateAuthority.AccessMethodProperty.Builder accessMethodType(String accessMethodType) Sets the value ofCfnCertificateAuthority.AccessMethodProperty.getAccessMethodType()
- Parameters:
accessMethodType
- Specifies theAccessMethod
.- Returns:
this
-
customObjectIdentifier
@Stability(Stable) public CfnCertificateAuthority.AccessMethodProperty.Builder customObjectIdentifier(String customObjectIdentifier) Sets the value ofCfnCertificateAuthority.AccessMethodProperty.getCustomObjectIdentifier()
- Parameters:
customObjectIdentifier
- An object identifier (OID) specifying theAccessMethod
. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of Object Identifier (OID) .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthority.AccessMethodProperty>
- Returns:
- a new instance of
CfnCertificateAuthority.AccessMethodProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-