Class CfnEipEndpoint.Builder

java.lang.Object
software.amazon.awscdk.services.globalaccelerator.endpoints.CfnEipEndpoint.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEipEndpoint>
Enclosing class:
CfnEipEndpoint

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

    • create

      @Stability(Stable) public static CfnEipEndpoint.Builder create(CfnEIP eip)
      Parameters:
      eip - This parameter is required.
      Returns:
      a new instance of CfnEipEndpoint.Builder.
    • weight

      @Stability(Stable) public CfnEipEndpoint.Builder weight(Number weight)
      Endpoint weight across all endpoints in the group.

      Must be a value between 0 and 255.

      Default: 128

      Parameters:
      weight - Endpoint weight across all endpoints in the group. This parameter is required.
      Returns:
      this
    • build

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