Interface CancelSubscriptionResponse.Builder

    • Method Detail

      • createdAt

        CancelSubscriptionResponse.Builder createdAt​(Instant createdAt)

        The timestamp that specifies when the request to cancel the subscription was created.

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

        CancelSubscriptionResponse.Builder createdBy​(String createdBy)

        Specifies the Amazon DataZone user who is cancelling the subscription.

        Parameters:
        createdBy - Specifies the Amazon DataZone user who is cancelling the subscription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainId

        CancelSubscriptionResponse.Builder domainId​(String domainId)

        The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.

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

        CancelSubscriptionResponse.Builder id​(String id)

        The identifier of the subscription.

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

        CancelSubscriptionResponse.Builder retainPermissions​(Boolean retainPermissions)

        Specifies whether the permissions to the asset are retained after the subscription is cancelled.

        Parameters:
        retainPermissions - Specifies whether the permissions to the asset are retained after the subscription is cancelled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedListing

        CancelSubscriptionResponse.Builder subscribedListing​(SubscribedListing subscribedListing)

        The asset to which a subscription is being cancelled.

        Parameters:
        subscribedListing - The asset to which a subscription is being cancelled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribedPrincipal

        CancelSubscriptionResponse.Builder subscribedPrincipal​(SubscribedPrincipal subscribedPrincipal)

        The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.

        Parameters:
        subscribedPrincipal - The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscriptionRequestId

        CancelSubscriptionResponse.Builder subscriptionRequestId​(String subscriptionRequestId)

        The unique ID of the subscripton request for the subscription that is being cancelled.

        Parameters:
        subscriptionRequestId - The unique ID of the subscripton request for the subscription that is being cancelled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        CancelSubscriptionResponse.Builder updatedAt​(Instant updatedAt)

        The timestamp that specifies when the subscription was cancelled.

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

        CancelSubscriptionResponse.Builder updatedBy​(String updatedBy)

        The Amazon DataZone user that cancelled the subscription.

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