Interface SubscriptionSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SubscriptionSummary.Builder,SubscriptionSummary>, SdkBuilder<SubscriptionSummary.Builder,SubscriptionSummary>, SdkPojo
Enclosing class:
SubscriptionSummary

public static interface SubscriptionSummary.Builder extends SdkPojo, CopyableBuilder<SubscriptionSummary.Builder,SubscriptionSummary>
  • Method Details

    • createdAt

      SubscriptionSummary.Builder createdAt(Instant createdAt)

      The timestamp of when the subscription was created.

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

      SubscriptionSummary.Builder createdBy(String createdBy)

      The Amazon DataZone user who created the subscription.

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

      SubscriptionSummary.Builder domainId(String domainId)

      The identifier of the Amazon DataZone domain in which a subscription exists.

      Parameters:
      domainId - The identifier of the Amazon DataZone domain in which a subscription exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      SubscriptionSummary.Builder retainPermissions(Boolean retainPermissions)

      The retain permissions included in the subscription.

      Parameters:
      retainPermissions - The retain permissions included in the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the subscription.

      Parameters:
      status - The status of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the subscription.

      Parameters:
      status - The status of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subscribedListing

      SubscriptionSummary.Builder subscribedListing(SubscribedListing subscribedListing)

      The listing included in the subscription.

      Parameters:
      subscribedListing - The listing included in the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscribedListing

      default SubscriptionSummary.Builder subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)

      The listing included in the subscription.

      This is a convenience method that creates an instance of the SubscribedListing.Builder avoiding the need to create one manually via SubscribedListing.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subscribedListing(SubscribedListing).

      Parameters:
      subscribedListing - a consumer that will call methods on SubscribedListing.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subscribedPrincipal

      SubscriptionSummary.Builder subscribedPrincipal(SubscribedPrincipal subscribedPrincipal)

      The principal included in the subscription.

      Parameters:
      subscribedPrincipal - The principal included in the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subscribedPrincipal

      default SubscriptionSummary.Builder subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)

      The principal included in the subscription.

      This is a convenience method that creates an instance of the SubscribedPrincipal.Builder avoiding the need to create one manually via SubscribedPrincipal.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subscribedPrincipal(SubscribedPrincipal).

      Parameters:
      subscribedPrincipal - a consumer that will call methods on SubscribedPrincipal.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subscriptionRequestId

      SubscriptionSummary.Builder subscriptionRequestId(String subscriptionRequestId)

      The identifier of the subscription request for the subscription.

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

      SubscriptionSummary.Builder updatedAt(Instant updatedAt)

      The timestamp of when the subscription was updated.

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

      SubscriptionSummary.Builder updatedBy(String updatedBy)

      The Amazon DataZone user who updated the subscription.

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