Class CfnProfilePermissionProps.Builder
java.lang.Object
software.amazon.awscdk.services.signer.CfnProfilePermissionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfilePermissionProps>
- Enclosing interface:
- CfnProfilePermissionProps
@Stability(Stable)
public static final class CfnProfilePermissionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfilePermissionProps>
A builder for
CfnProfilePermissionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnProfilePermissionProps.getAction()build()Builds the configured instance.Sets the value ofCfnProfilePermissionProps.getPrincipal()profileName(String profileName) Sets the value ofCfnProfilePermissionProps.getProfileName()profileVersion(String profileVersion) Sets the value ofCfnProfilePermissionProps.getProfileVersion()statementId(String statementId) Sets the value ofCfnProfilePermissionProps.getStatementId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnProfilePermissionProps.getAction()- Parameters:
action- The AWS Signer action permitted as part of cross-account permissions. This parameter is required.- Returns:
this
-
principal
Sets the value ofCfnProfilePermissionProps.getPrincipal()- Parameters:
principal- The AWS principal receiving cross-account permissions. This parameter is required. This may be an IAM role or another AWS account ID.- Returns:
this
-
profileName
Sets the value ofCfnProfilePermissionProps.getProfileName()- Parameters:
profileName- The human-readable name of the signing profile. This parameter is required.- Returns:
this
-
statementId
Sets the value ofCfnProfilePermissionProps.getStatementId()- Parameters:
statementId- A unique identifier for the cross-account permission statement. This parameter is required.- Returns:
this
-
profileVersion
Sets the value ofCfnProfilePermissionProps.getProfileVersion()- Parameters:
profileVersion- The version of the signing profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProfilePermissionProps>- Returns:
- a new instance of
CfnProfilePermissionProps - Throws:
NullPointerException- if any required attribute was not provided
-