Class CfnEndpoint.Builder

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

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

    • create

      @Stability(Stable) public static CfnEndpoint.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 CfnEndpoint.Builder.
    • outpostId

      @Stability(Stable) public CfnEndpoint.Builder outpostId(String outpostId)
      The ID of the Outpost.

      Parameters:
      outpostId - The ID of the Outpost. This parameter is required.
      Returns:
      this
    • securityGroupId

      @Stability(Stable) public CfnEndpoint.Builder securityGroupId(String securityGroupId)
      The ID of the security group to use with the endpoint.

      Parameters:
      securityGroupId - The ID of the security group to use with the endpoint. This parameter is required.
      Returns:
      this
    • subnetId

      @Stability(Stable) public CfnEndpoint.Builder subnetId(String subnetId)
      The ID of the subnet.

      Parameters:
      subnetId - The ID of the subnet. This parameter is required.
      Returns:
      this
    • accessType

      @Stability(Stable) public CfnEndpoint.Builder accessType(String accessType)
      The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.

      To use the Amazon VPC , choose Private . To use the endpoint with an on-premises network, choose CustomerOwnedIp . If you choose CustomerOwnedIp , you must also provide the customer-owned IP address pool (CoIP pool).

      Private is the default access type value.

      Parameters:
      accessType - The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint. This parameter is required.
      Returns:
      this
    • customerOwnedIpv4Pool

      @Stability(Stable) public CfnEndpoint.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
      The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.

      IP addresses are allocated from this pool for the endpoint.

      Parameters:
      customerOwnedIpv4Pool - The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. This parameter is required.
      Returns:
      this
    • build

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