Interface AcceptSubscriptionRequestResponse.Builder

    • Method Detail

      • createdAt

        AcceptSubscriptionRequestResponse.Builder createdAt​(Instant createdAt)

        The timestamp that specifies when the subscription request was accepted.

        Parameters:
        createdAt - The timestamp that specifies when the subscription request was accepted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        AcceptSubscriptionRequestResponse.Builder createdBy​(String createdBy)

        Specifies the Amazon DataZone user that accepted the specified subscription request.

        Parameters:
        createdBy - Specifies the Amazon DataZone user that accepted the specified subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decisionComment

        AcceptSubscriptionRequestResponse.Builder decisionComment​(String decisionComment)

        Specifies the reason for accepting the subscription request.

        Parameters:
        decisionComment - Specifies the reason for accepting the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainId

        AcceptSubscriptionRequestResponse.Builder domainId​(String domainId)

        The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.

        Parameters:
        domainId - The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        AcceptSubscriptionRequestResponse.Builder id​(String id)

        The identifier of the subscription request.

        Parameters:
        id - The identifier of the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestReason

        AcceptSubscriptionRequestResponse.Builder requestReason​(String requestReason)

        Specifies the reason for requesting a subscription to the asset.

        Parameters:
        requestReason - Specifies the reason for requesting a subscription to the asset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reviewerId

        AcceptSubscriptionRequestResponse.Builder reviewerId​(String reviewerId)

        Specifes the ID of the Amazon DataZone user who reviewed the subscription request.

        Parameters:
        reviewerId - Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedListings

        AcceptSubscriptionRequestResponse.Builder subscribedListings​(Collection<SubscribedListing> subscribedListings)

        Specifies the asset for which the subscription request was created.

        Parameters:
        subscribedListings - Specifies the asset for which the subscription request was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedListings

        AcceptSubscriptionRequestResponse.Builder subscribedListings​(SubscribedListing... subscribedListings)

        Specifies the asset for which the subscription request was created.

        Parameters:
        subscribedListings - Specifies the asset for which the subscription request was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedPrincipals

        AcceptSubscriptionRequestResponse.Builder subscribedPrincipals​(Collection<SubscribedPrincipal> subscribedPrincipals)

        Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.

        Parameters:
        subscribedPrincipals - Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedPrincipals

        AcceptSubscriptionRequestResponse.Builder subscribedPrincipals​(SubscribedPrincipal... subscribedPrincipals)

        Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.

        Parameters:
        subscribedPrincipals - Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        AcceptSubscriptionRequestResponse.Builder updatedAt​(Instant updatedAt)

        Specifies the timestamp when subscription request was updated.

        Parameters:
        updatedAt - Specifies the timestamp when subscription request was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedBy

        AcceptSubscriptionRequestResponse.Builder updatedBy​(String updatedBy)

        Specifies the Amazon DataZone user who updated the subscription request.

        Parameters:
        updatedBy - Specifies the Amazon DataZone user who updated the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.