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