Class CfnCertificateAuthority.AccessDescriptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnCertificateAuthority.AccessDescriptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateAuthority.AccessDescriptionProperty>
- Enclosing interface:
CfnCertificateAuthority.AccessDescriptionProperty
@Stability(Stable)
public static final class CfnCertificateAuthority.AccessDescriptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateAuthority.AccessDescriptionProperty>
A builder for
CfnCertificateAuthority.AccessDescriptionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessLocation
(IResolvable accessLocation) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessLocation()
accessLocation
(CfnCertificateAuthority.GeneralNameProperty accessLocation) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessLocation()
accessMethod
(IResolvable accessMethod) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessMethod()
accessMethod
(CfnCertificateAuthority.AccessMethodProperty accessMethod) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessMethod()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessLocation
@Stability(Stable) public CfnCertificateAuthority.AccessDescriptionProperty.Builder accessLocation(IResolvable accessLocation) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessLocation()
- Parameters:
accessLocation
- The location ofAccessDescription
information. This parameter is required.- Returns:
this
-
accessLocation
@Stability(Stable) public CfnCertificateAuthority.AccessDescriptionProperty.Builder accessLocation(CfnCertificateAuthority.GeneralNameProperty accessLocation) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessLocation()
- Parameters:
accessLocation
- The location ofAccessDescription
information. This parameter is required.- Returns:
this
-
accessMethod
@Stability(Stable) public CfnCertificateAuthority.AccessDescriptionProperty.Builder accessMethod(IResolvable accessMethod) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessMethod()
- Parameters:
accessMethod
- The type and format ofAccessDescription
information. This parameter is required.- Returns:
this
-
accessMethod
@Stability(Stable) public CfnCertificateAuthority.AccessDescriptionProperty.Builder accessMethod(CfnCertificateAuthority.AccessMethodProperty accessMethod) Sets the value ofCfnCertificateAuthority.AccessDescriptionProperty.getAccessMethod()
- Parameters:
accessMethod
- The type and format ofAccessDescription
information. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificateAuthority.AccessDescriptionProperty>
- Returns:
- a new instance of
CfnCertificateAuthority.AccessDescriptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-