Class CfnEndpointProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • outpostId

      @Stability(Stable) public CfnEndpointProps.Builder outpostId(String outpostId)
      Parameters:
      outpostId - The ID of the Outpost. This parameter is required.
      Returns:
      this
    • securityGroupId

      @Stability(Stable) public CfnEndpointProps.Builder securityGroupId(String securityGroupId)
      Parameters:
      securityGroupId - The ID of the security group to use with the endpoint. This parameter is required.
      Returns:
      this
    • subnetId

      @Stability(Stable) public CfnEndpointProps.Builder subnetId(String subnetId)
      Parameters:
      subnetId - The ID of the subnet. This parameter is required.
      Returns:
      this
    • accessType

      @Stability(Stable) public CfnEndpointProps.Builder accessType(String accessType)
      Parameters:
      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.

      Returns:
      this
    • customerOwnedIpv4Pool

      @Stability(Stable) public CfnEndpointProps.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
      Parameters:
      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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnEndpointProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnEndpointProps>
      Returns:
      a new instance of CfnEndpointProps
      Throws:
      NullPointerException - if any required attribute was not provided