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