Interface Endpoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Endpoint.Builder,Endpoint>, SdkBuilder<Endpoint.Builder,Endpoint>, SdkPojo
Enclosing class:
Endpoint

@Mutable @NotThreadSafe public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
  • Method Details

    • address

      Endpoint.Builder address(String address)

      The DNS address of the VPC endpoint.

      Parameters:
      address - The DNS address of the VPC endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port that Amazon Redshift Serverless listens on.

      Parameters:
      port - The port that Amazon Redshift Serverless listens on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcEndpoints

      Endpoint.Builder vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)

      An array of VpcEndpoint objects.

      Parameters:
      vpcEndpoints - An array of VpcEndpoint objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcEndpoints

      Endpoint.Builder vpcEndpoints(VpcEndpoint... vpcEndpoints)

      An array of VpcEndpoint objects.

      Parameters:
      vpcEndpoints - An array of VpcEndpoint objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcEndpoints

      Endpoint.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)

      An array of VpcEndpoint objects.

      This is a convenience method that creates an instance of the VpcEndpoint.Builder avoiding the need to create one manually via VpcEndpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcEndpoints(List<VpcEndpoint>).

      Parameters:
      vpcEndpoints - a consumer that will call methods on VpcEndpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: