Interface GetReceivedDataGrantResponse.Builder

    • Method Detail

      • name

        GetReceivedDataGrantResponse.Builder name​(String name)

        The name of the data grant.

        Parameters:
        name - The name of the data grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • senderPrincipal

        GetReceivedDataGrantResponse.Builder senderPrincipal​(String senderPrincipal)

        The Amazon Web Services account ID of the data grant sender.

        Parameters:
        senderPrincipal - The Amazon Web Services account ID of the data grant sender.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • receiverPrincipal

        GetReceivedDataGrantResponse.Builder receiverPrincipal​(String receiverPrincipal)

        The Amazon Web Services account ID of the data grant receiver.

        Parameters:
        receiverPrincipal - The Amazon Web Services account ID of the data grant receiver.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetReceivedDataGrantResponse.Builder description​(String description)

        The description of the data grant.

        Parameters:
        description - The description of the data grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • acceptedAt

        GetReceivedDataGrantResponse.Builder acceptedAt​(Instant acceptedAt)

        The timestamp of when the data grant was accepted.

        Parameters:
        acceptedAt - The timestamp of when the data grant was accepted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endsAt

        GetReceivedDataGrantResponse.Builder endsAt​(Instant endsAt)

        The timestamp of when access to the associated data set ends.

        Parameters:
        endsAt - The timestamp of when access to the associated data set ends.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSetId

        GetReceivedDataGrantResponse.Builder dataSetId​(String dataSetId)

        The ID of the data set associated to the data grant.

        Parameters:
        dataSetId - The ID of the data set associated to the data grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        GetReceivedDataGrantResponse.Builder id​(String id)

        The ID of the data grant.

        Parameters:
        id - The ID of the data grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        GetReceivedDataGrantResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the data grant.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the data grant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        GetReceivedDataGrantResponse.Builder createdAt​(Instant createdAt)

        The timestamp of when the data grant was created.

        Parameters:
        createdAt - The timestamp of when the data grant was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        GetReceivedDataGrantResponse.Builder updatedAt​(Instant updatedAt)

        The timestamp of when the data grant was last updated.

        Parameters:
        updatedAt - The timestamp of when the data grant was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.