Interface VpcEndpoint.Builder

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

public static interface VpcEndpoint.Builder extends SdkPojo, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
  • Method Details

    • vpcEndpointId

      VpcEndpoint.Builder vpcEndpointId(String vpcEndpointId)

      The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.

      Parameters:
      vpcEndpointId - The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The VPC identifier that the endpoint is associated.

      Parameters:
      vpcId - The VPC identifier that the endpoint is associated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      VpcEndpoint.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)

      One or more network interfaces of the endpoint. Also known as an interface endpoint.

      Parameters:
      networkInterfaces - One or more network interfaces of the endpoint. Also known as an interface endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      VpcEndpoint.Builder networkInterfaces(NetworkInterface... networkInterfaces)

      One or more network interfaces of the endpoint. Also known as an interface endpoint.

      Parameters:
      networkInterfaces - One or more network interfaces of the endpoint. Also known as an interface endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      VpcEndpoint.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)

      One or more network interfaces of the endpoint. Also known as an interface endpoint.

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

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

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