Interface CreateSubscriptionRequestResponse.Builder

    • Method Detail

      • createdAt

        CreateSubscriptionRequestResponse.Builder createdAt​(Instant createdAt)

        A timestamp of when the subscription request is created.

        Parameters:
        createdAt - A timestamp of when the subscription request is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        CreateSubscriptionRequestResponse.Builder createdBy​(String createdBy)

        The Amazon DataZone user who created the subscription request.

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

        CreateSubscriptionRequestResponse.Builder decisionComment​(String decisionComment)

        The decision comment of the subscription request.

        Parameters:
        decisionComment - The decision comment of the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainId

        CreateSubscriptionRequestResponse.Builder domainId​(String domainId)

        The ID of the Amazon DataZone domain in whcih the subscription request is created.

        Parameters:
        domainId - The ID of the Amazon DataZone domain in whcih the subscription request is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        CreateSubscriptionRequestResponse.Builder id​(String id)

        The ID of the subscription request.

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

        CreateSubscriptionRequestResponse.Builder requestReason​(String requestReason)

        The reason for the subscription request.

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

        CreateSubscriptionRequestResponse.Builder reviewerId​(String reviewerId)

        The ID of the reviewer of the subscription request.

        Parameters:
        reviewerId - The ID of the reviewer of the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedListings

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

        The published asset for which the subscription grant is to be created.

        Parameters:
        subscribedListings - The published asset for which the subscription grant is to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedListings

        CreateSubscriptionRequestResponse.Builder subscribedListings​(SubscribedListing... subscribedListings)

        The published asset for which the subscription grant is to be created.

        Parameters:
        subscribedListings - The published asset for which the subscription grant is to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedPrincipals

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

        The subscribed principals of the subscription request.

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

        CreateSubscriptionRequestResponse.Builder subscribedPrincipals​(SubscribedPrincipal... subscribedPrincipals)

        The subscribed principals of the subscription request.

        Parameters:
        subscribedPrincipals - The subscribed principals of the subscription request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        CreateSubscriptionRequestResponse.Builder updatedAt​(Instant updatedAt)

        The timestamp of when the subscription request was updated.

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

        CreateSubscriptionRequestResponse.Builder updatedBy​(String updatedBy)

        The Amazon DataZone user who updated the subscription request.

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