Class CfnPermissionProps.Builder
java.lang.Object
software.amazon.awscdk.services.acmpca.CfnPermissionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionProps>
- Enclosing interface:
CfnPermissionProps
@Stability(Stable)
public static final class CfnPermissionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionProps>
A builder for
CfnPermissionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPermissionProps.getActions()build()Builds the configured instance.certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnPermissionProps.getCertificateAuthorityArn()Sets the value ofCfnPermissionProps.getPrincipal()sourceAccount(String sourceAccount) Sets the value ofCfnPermissionProps.getSourceAccount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnPermissionProps.getActions()- Parameters:
actions- The private CA actions that can be performed by the designated AWS service. This parameter is required. Supported actions areIssueCertificate,GetCertificate, andListPermissions.- Returns:
this
-
certificateAuthorityArn
@Stability(Stable) public CfnPermissionProps.Builder certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnPermissionProps.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The Amazon Resource Number (ARN) of the private CA from which the permission was issued. This parameter is required.- Returns:
this
-
principal
Sets the value ofCfnPermissionProps.getPrincipal()- Parameters:
principal- The AWS service or entity that holds the permission. This parameter is required. At this time, the only valid principal isacm.amazonaws.com.- Returns:
this
-
sourceAccount
Sets the value ofCfnPermissionProps.getSourceAccount()- Parameters:
sourceAccount- The ID of the account that assigned the permission.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionProps>- Returns:
- a new instance of
CfnPermissionProps - Throws:
NullPointerException- if any required attribute was not provided
-