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 SummaryConstructors
- 
Method SummaryModifier 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- 
Builderpublic Builder()
 
- 
- 
Method Details- 
actionSets the value ofCfnProfilePermissionProps.getAction()- Parameters:
- action- The AWS Signer action permitted as part of cross-account permissions. This parameter is required.
- Returns:
- this
 
- 
principalSets 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
 
- 
profileNameSets the value ofCfnProfilePermissionProps.getProfileName()- Parameters:
- profileName- The human-readable name of the signing profile. This parameter is required.
- Returns:
- this
 
- 
statementIdSets the value ofCfnProfilePermissionProps.getStatementId()- Parameters:
- statementId- A unique identifier for the cross-account permission statement. This parameter is required.
- Returns:
- this
 
- 
profileVersionSets the value ofCfnProfilePermissionProps.getProfileVersion()- Parameters:
- profileVersion- The version of the signing profile.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnProfilePermissionProps>
- Returns:
- a new instance of CfnProfilePermissionProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-