Class GeneralRole.Builder
- java.lang.Object
-
- io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRole.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GeneralRole>
- Enclosing class:
- GeneralRole
@Stability(Stable) public static final class GeneralRole.Builder extends Object implements software.amazon.jsii.Builder<GeneralRole>
A fluent builder forGeneralRole.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralRolebuild()static GeneralRole.Buildercreate(software.constructs.Construct scope, String id)GeneralRole.BuilderiamRoleName(String iamRoleName)The name of the IAM role.GeneralRole.BuilderobjectLambdaAccessPointName(String objectLambdaAccessPointName)The name of the object Lambda access point, which will be the same as the S3 acceess point for the S3 bucket in the demostration.GeneralRole.BuilderpolicyName(String policyName)The name of the IAM policy for the IAM role.
-
-
-
Method Detail
-
create
@Stability(Stable) public static GeneralRole.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
GeneralRole.Builder.
-
iamRoleName
@Stability(Stable) public GeneralRole.Builder iamRoleName(String iamRoleName)
The name of the IAM role.Default: 'GeneralRole'
- Parameters:
iamRoleName- The name of the IAM role. This parameter is required.- Returns:
this
-
objectLambdaAccessPointName
@Stability(Stable) public GeneralRole.Builder objectLambdaAccessPointName(String objectLambdaAccessPointName)
The name of the object Lambda access point, which will be the same as the S3 acceess point for the S3 bucket in the demostration.Default: 'accessctl-s3olap-survey-results-unknown-pii'
- Parameters:
objectLambdaAccessPointName- The name of the object Lambda access point, which will be the same as the S3 acceess point for the S3 bucket in the demostration. This parameter is required.- Returns:
this
-
policyName
@Stability(Stable) public GeneralRole.Builder policyName(String policyName)
The name of the IAM policy for the IAM role.Default: 'general-role-s3olap-policy'
- Parameters:
policyName- The name of the IAM policy for the IAM role. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public GeneralRole build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GeneralRole>
-
-