public static final class CfnPermissionProps.Builder
extends java.lang.Object
CfnPermissionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPermissionProps.Builder |
actions(java.util.List<java.lang.String> actions)
Sets the value of
CfnPermissionProps.getActions() |
CfnPermissionProps |
build()
Builds the configured instance.
|
CfnPermissionProps.Builder |
certificateAuthorityArn(java.lang.String certificateAuthorityArn)
Sets the value of
CfnPermissionProps.getCertificateAuthorityArn() |
CfnPermissionProps.Builder |
principal(java.lang.String principal)
Sets the value of
CfnPermissionProps.getPrincipal() |
CfnPermissionProps.Builder |
sourceAccount(java.lang.String sourceAccount)
Sets the value of
CfnPermissionProps.getSourceAccount() |
public CfnPermissionProps.Builder actions(java.util.List<java.lang.String> actions)
CfnPermissionProps.getActions()
actions
- The private CA actions that can be performed by the designated AWS service. This parameter is required.
Supported actions are IssueCertificate
, GetCertificate
, and ListPermissions
.this
public CfnPermissionProps.Builder certificateAuthorityArn(java.lang.String certificateAuthorityArn)
CfnPermissionProps.getCertificateAuthorityArn()
certificateAuthorityArn
- The Amazon Resource Number (ARN) of the private CA from which the permission was issued. This parameter is required.this
public CfnPermissionProps.Builder principal(java.lang.String principal)
CfnPermissionProps.getPrincipal()
principal
- The AWS service or entity that holds the permission. This parameter is required.
At this time, the only valid principal is acm.amazonaws.com
.this
public CfnPermissionProps.Builder sourceAccount(java.lang.String sourceAccount)
CfnPermissionProps.getSourceAccount()
sourceAccount
- The ID of the account that assigned the permission.this
public CfnPermissionProps build()
CfnPermissionProps
java.lang.NullPointerException
- if any required attribute was not provided