Class PermissionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.acmpca.PermissionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PermissionReference>
- Enclosing interface:
PermissionReference
@Stability(Stable)
public static final class PermissionReference.Builder
extends Object
implements software.amazon.jsii.Builder<PermissionReference>
A builder for
PermissionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofPermissionReference.getCertificateAuthorityArn()Sets the value ofPermissionReference.getPrincipal()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateAuthorityArn
@Stability(Stable) public PermissionReference.Builder certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofPermissionReference.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The CertificateAuthorityArn of the Permission resource. This parameter is required.- Returns:
this
-
principal
Sets the value ofPermissionReference.getPrincipal()- Parameters:
principal- The Principal of the Permission resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PermissionReference>- Returns:
- a new instance of
PermissionReference - Throws:
NullPointerException- if any required attribute was not provided
-