Interface CreateDataGrantResponse.Builder

    • Method Detail

      • name

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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.
      • sourceDataSetId

        CreateDataGrantResponse.Builder sourceDataSetId​(String sourceDataSetId)

        The ID of the data set used to create the data grant.

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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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

        CreateDataGrantResponse.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.
      • tags

        CreateDataGrantResponse.Builder tags​(Map<String,​String> tags)

        The tags associated to the data grant. A tag is a key-value pair.

        Parameters:
        tags - The tags associated to the data grant. A tag is a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.