Class CfnMultiRegionAccessPoint.Builder

java.lang.Object
software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPoint>
Enclosing class:
CfnMultiRegionAccessPoint

@Stability(Stable) public static final class CfnMultiRegionAccessPoint.Builder extends Object implements software.amazon.jsii.Builder<CfnMultiRegionAccessPoint>
A fluent builder for CfnMultiRegionAccessPoint.
  • Method Details

    • create

      @Stability(Stable) public static CfnMultiRegionAccessPoint.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnMultiRegionAccessPoint.Builder.
    • regions

      @Stability(Stable) public CfnMultiRegionAccessPoint.Builder regions(IResolvable regions)
      A collection of the Regions and buckets associated with the Multi-Region Access Point.

      Parameters:
      regions - A collection of the Regions and buckets associated with the Multi-Region Access Point. This parameter is required.
      Returns:
      this
    • regions

      @Stability(Stable) public CfnMultiRegionAccessPoint.Builder regions(List<? extends Object> regions)
      A collection of the Regions and buckets associated with the Multi-Region Access Point.

      Parameters:
      regions - A collection of the Regions and buckets associated with the Multi-Region Access Point. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnMultiRegionAccessPoint.Builder name(String name)
      The name of the Multi-Region Access Point.

      Parameters:
      name - The name of the Multi-Region Access Point. This parameter is required.
      Returns:
      this
    • publicAccessBlockConfiguration

      @Stability(Stable) public CfnMultiRegionAccessPoint.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration)
      The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.

      You can enable the configuration options in any combination. For more information about when Amazon S3 considers an object public, see The Meaning of "Public" in the Amazon S3 User Guide .

      Parameters:
      publicAccessBlockConfiguration - The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point. This parameter is required.
      Returns:
      this
    • publicAccessBlockConfiguration

      @Stability(Stable) public CfnMultiRegionAccessPoint.Builder publicAccessBlockConfiguration(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration)
      The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.

      You can enable the configuration options in any combination. For more information about when Amazon S3 considers an object public, see The Meaning of "Public" in the Amazon S3 User Guide .

      Parameters:
      publicAccessBlockConfiguration - The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnMultiRegionAccessPoint build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMultiRegionAccessPoint>
      Returns:
      a newly built instance of CfnMultiRegionAccessPoint.