Class S3AccessPointNames.Builder
- java.lang.Object
-
- io.github.hsiehshujeng.cdk.comprehend.s3olap.S3AccessPointNames.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3AccessPointNames>
- Enclosing interface:
- S3AccessPointNames
@Stability(Stable) public static final class S3AccessPointNames.Builder extends Object implements software.amazon.jsii.Builder<S3AccessPointNames>
A builder forS3AccessPointNames
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3AccessPointNames.Builderadmin(String admin)Sets the value ofS3AccessPointNames.getAdmin()S3AccessPointNames.Builderbilling(String billing)Sets the value ofS3AccessPointNames.getBilling()S3AccessPointNamesbuild()Builds the configured instance.S3AccessPointNames.BuildercustomerSupport(String customerSupport)Sets the value ofS3AccessPointNames.getCustomerSupport()S3AccessPointNames.Buildergeneral(String general)Sets the value ofS3AccessPointNames.getGeneral()
-
-
-
Method Detail
-
admin
@Stability(Stable) public S3AccessPointNames.Builder admin(String admin)
Sets the value ofS3AccessPointNames.getAdmin()- Parameters:
admin- The name of the S3 aceess point for the admin role in the redaction case. This parameter is required.- Returns:
this
-
billing
@Stability(Stable) public S3AccessPointNames.Builder billing(String billing)
Sets the value ofS3AccessPointNames.getBilling()- Parameters:
billing- The name of the S3 aceess point for the billing role in the redaction case. This parameter is required.- Returns:
this
-
customerSupport
@Stability(Stable) public S3AccessPointNames.Builder customerSupport(String customerSupport)
Sets the value ofS3AccessPointNames.getCustomerSupport()- Parameters:
customerSupport- The name of the S3 aceess point for the customer support role in the redaction case. This parameter is required.- Returns:
this
-
general
@Stability(Stable) public S3AccessPointNames.Builder general(String general)
Sets the value ofS3AccessPointNames.getGeneral()- Parameters:
general- The name of the S3 aceess point for the general role in the access control case. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public S3AccessPointNames build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3AccessPointNames>- Returns:
- a new instance of
S3AccessPointNames - Throws:
NullPointerException- if any required attribute was not provided
-
-