public static final class CfnProfilePermissionProps.Builder
extends java.lang.Object
CfnProfilePermissionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnProfilePermissionProps.Builder |
action(java.lang.String action)
Sets the value of
CfnProfilePermissionProps.getAction() |
CfnProfilePermissionProps |
build()
Builds the configured instance.
|
CfnProfilePermissionProps.Builder |
principal(java.lang.String principal)
Sets the value of
CfnProfilePermissionProps.getPrincipal() |
CfnProfilePermissionProps.Builder |
profileName(java.lang.String profileName)
Sets the value of
CfnProfilePermissionProps.getProfileName() |
CfnProfilePermissionProps.Builder |
profileVersion(java.lang.String profileVersion)
Sets the value of
CfnProfilePermissionProps.getProfileVersion() |
CfnProfilePermissionProps.Builder |
statementId(java.lang.String statementId)
Sets the value of
CfnProfilePermissionProps.getStatementId() |
public CfnProfilePermissionProps.Builder action(java.lang.String action)
CfnProfilePermissionProps.getAction()
action
- The AWS Signer action permitted as part of cross-account permissions. This parameter is required.this
public CfnProfilePermissionProps.Builder principal(java.lang.String principal)
CfnProfilePermissionProps.getPrincipal()
principal
- The AWS principal receiving cross-account permissions. This parameter is required.
This may be an IAM role or another AWS account ID.this
public CfnProfilePermissionProps.Builder profileName(java.lang.String profileName)
CfnProfilePermissionProps.getProfileName()
profileName
- The human-readable name of the signing profile. This parameter is required.this
public CfnProfilePermissionProps.Builder statementId(java.lang.String statementId)
CfnProfilePermissionProps.getStatementId()
statementId
- A unique identifier for the cross-account permission statement. This parameter is required.this
public CfnProfilePermissionProps.Builder profileVersion(java.lang.String profileVersion)
CfnProfilePermissionProps.getProfileVersion()
profileVersion
- The version of the signing profile.this
public CfnProfilePermissionProps build()
CfnProfilePermissionProps
java.lang.NullPointerException
- if any required attribute was not provided