Class GeneralRoleProps.Builder
- java.lang.Object
-
- io.github.hsiehshujeng.cdk.comprehend.s3olap.GeneralRoleProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GeneralRoleProps>
- Enclosing interface:
- GeneralRoleProps
@Stability(Stable) public static final class GeneralRoleProps.Builder extends Object implements software.amazon.jsii.Builder<GeneralRoleProps>
A builder forGeneralRoleProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralRolePropsbuild()Builds the configured instance.GeneralRoleProps.BuilderiamRoleName(String iamRoleName)Sets the value ofGeneralRoleProps.getIamRoleName()GeneralRoleProps.BuilderobjectLambdaAccessPointName(String objectLambdaAccessPointName)Sets the value ofGeneralRoleProps.getObjectLambdaAccessPointName()GeneralRoleProps.BuilderpolicyName(String policyName)Sets the value ofGeneralRoleProps.getPolicyName()
-
-
-
Method Detail
-
iamRoleName
@Stability(Stable) public GeneralRoleProps.Builder iamRoleName(String iamRoleName)
Sets the value ofGeneralRoleProps.getIamRoleName()- Parameters:
iamRoleName- The name of the IAM role.- Returns:
this
-
objectLambdaAccessPointName
@Stability(Stable) public GeneralRoleProps.Builder objectLambdaAccessPointName(String objectLambdaAccessPointName)
Sets the value ofGeneralRoleProps.getObjectLambdaAccessPointName()- 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.- Returns:
this
-
policyName
@Stability(Stable) public GeneralRoleProps.Builder policyName(String policyName)
Sets the value ofGeneralRoleProps.getPolicyName()- Parameters:
policyName- The name of the IAM policy for the IAM role.- Returns:
this
-
build
@Stability(Stable) public GeneralRoleProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GeneralRoleProps>- Returns:
- a new instance of
GeneralRoleProps - Throws:
NullPointerException- if any required attribute was not provided
-
-