Interface EndpointAuthorization.Builder

    • Method Detail

      • grantor

        EndpointAuthorization.Builder grantor​(String grantor)

        The Amazon Web Services account ID of the cluster owner.

        Parameters:
        grantor - The Amazon Web Services account ID of the cluster owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • grantee

        EndpointAuthorization.Builder grantee​(String grantee)

        The Amazon Web Services account ID of the grantee of the cluster.

        Parameters:
        grantee - The Amazon Web Services account ID of the grantee of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterIdentifier

        EndpointAuthorization.Builder clusterIdentifier​(String clusterIdentifier)

        The cluster identifier.

        Parameters:
        clusterIdentifier - The cluster identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizeTime

        EndpointAuthorization.Builder authorizeTime​(Instant authorizeTime)

        The time (UTC) when the authorization was created.

        Parameters:
        authorizeTime - The time (UTC) when the authorization was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterStatus

        EndpointAuthorization.Builder clusterStatus​(String clusterStatus)

        The status of the cluster.

        Parameters:
        clusterStatus - The status of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedAllVPCs

        EndpointAuthorization.Builder allowedAllVPCs​(Boolean allowedAllVPCs)

        Indicates whether all VPCs in the grantee account are allowed access to the cluster.

        Parameters:
        allowedAllVPCs - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedVPCs

        EndpointAuthorization.Builder allowedVPCs​(Collection<String> allowedVPCs)

        The VPCs allowed access to the cluster.

        Parameters:
        allowedVPCs - The VPCs allowed access to the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedVPCs

        EndpointAuthorization.Builder allowedVPCs​(String... allowedVPCs)

        The VPCs allowed access to the cluster.

        Parameters:
        allowedVPCs - The VPCs allowed access to the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointCount

        EndpointAuthorization.Builder endpointCount​(Integer endpointCount)

        The number of Redshift-managed VPC endpoints created for the authorization.

        Parameters:
        endpointCount - The number of Redshift-managed VPC endpoints created for the authorization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.