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