Class EndpointConfigurationTrait.Builder

All Implemented Interfaces:
SmithyBuilder<EndpointConfigurationTrait>
Enclosing class:
EndpointConfigurationTrait

public static final class EndpointConfigurationTrait.Builder extends AbstractTraitBuilder<EndpointConfigurationTrait,EndpointConfigurationTrait.Builder>
  • Method Details

    • build

      Description copied from interface: SmithyBuilder
      Creates an immutable object that is created from the properties that have been set on the builder.
      Returns:
      an instance of T
    • types

      Sets the endpoint types.
      Parameters:
      types - The endpoint types to set.
      Returns:
      Returns the builder.
    • addType

      Adds an endpoint type.
      Parameters:
      type - The endpoint type to add.
      Returns:
      Returns the builder.
    • clearTypes

      Clears all of the endpoint types in the builder.
      Returns:
      Returns the builder.
    • vpcEndpointIds

      public EndpointConfigurationTrait.Builder vpcEndpointIds(List<String> vpcEndpointIds)
      Sets the VPC endpoint IDs.
      Parameters:
      vpcEndpointIds - The VPC endpoint IDs to set.
      Returns:
      Returns the builder.
    • addVpcEndpointId

      public EndpointConfigurationTrait.Builder addVpcEndpointId(String vpcEndpointId)
      Adds a VPC endpoint ID.
      Parameters:
      vpcEndpointId - The VPC endpoint ID to add.
      Returns:
      Returns the builder.
    • clearVpcEndpointIds

      public EndpointConfigurationTrait.Builder clearVpcEndpointIds()
      Clears all of the VPC endpoint IDs in the builder.
      Returns:
      Returns the builder.
    • disableExecuteApiEndpoint

      public EndpointConfigurationTrait.Builder disableExecuteApiEndpoint(Boolean disableExecuteApiEndpoint)
      Sets whether the default execute-api endpoint is disabled.
      Parameters:
      disableExecuteApiEndpoint - The disable flag to set.
      Returns:
      Returns the builder.
    • ipAddressType

      public EndpointConfigurationTrait.Builder ipAddressType(String ipAddressType)
      Sets the IP address type that can invoke the API.
      Parameters:
      ipAddressType - The IP address type to set (ipv4 or dualstack).
      Returns:
      Returns the builder.