Interface EndpointAccess.Builder

  • Method Details

    • address

      EndpointAccess.Builder address(String address)

      The DNS address of the endpoint.

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

      EndpointAccess.Builder endpointArn(String endpointArn)

      The Amazon Resource Name (ARN) of the VPC endpoint.

      Parameters:
      endpointArn - The Amazon Resource Name (ARN) of the VPC endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointCreateTime

      EndpointAccess.Builder endpointCreateTime(Instant endpointCreateTime)

      The time that the endpoint was created.

      Parameters:
      endpointCreateTime - The time that the endpoint was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpointName

      EndpointAccess.Builder endpointName(String endpointName)

      The name of the VPC endpoint.

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

      EndpointAccess.Builder endpointStatus(String endpointStatus)

      The status of the VPC endpoint.

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

      The port number on which Amazon Redshift Serverless accepts incoming connections.

      Parameters:
      port - The port number on which Amazon Redshift Serverless accepts incoming connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      EndpointAccess.Builder subnetIds(Collection<String> subnetIds)

      The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

      Parameters:
      subnetIds - The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      EndpointAccess.Builder subnetIds(String... subnetIds)

      The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.

      Parameters:
      subnetIds - The unique identifier of subnets where Amazon Redshift Serverless choose to deploy the VPC endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcEndpoint

      EndpointAccess.Builder vpcEndpoint(VpcEndpoint vpcEndpoint)

      The connection endpoint for connecting to Amazon Redshift Serverless.

      Parameters:
      vpcEndpoint - The connection endpoint for connecting to Amazon Redshift Serverless.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcEndpoint

      default EndpointAccess.Builder vpcEndpoint(Consumer<VpcEndpoint.Builder> vpcEndpoint)

      The connection endpoint for connecting to Amazon Redshift Serverless.

      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 vpcEndpoint(VpcEndpoint).

      Parameters:
      vpcEndpoint - 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:
    • vpcSecurityGroups

      EndpointAccess.Builder vpcSecurityGroups(Collection<VpcSecurityGroupMembership> vpcSecurityGroups)

      The security groups associated with the endpoint.

      Parameters:
      vpcSecurityGroups - The security groups associated with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      EndpointAccess.Builder vpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups)

      The security groups associated with the endpoint.

      Parameters:
      vpcSecurityGroups - The security groups associated with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcSecurityGroups

      EndpointAccess.Builder vpcSecurityGroups(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroups)

      The security groups associated with the endpoint.

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

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

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

      EndpointAccess.Builder workgroupName(String workgroupName)

      The name of the workgroup associated with the endpoint.

      Parameters:
      workgroupName - The name of the workgroup associated with the endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.