Interface SubscriptionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubscriptionSummary.Builder,
,SubscriptionSummary> SdkBuilder<SubscriptionSummary.Builder,
,SubscriptionSummary> SdkPojo
- Enclosing class:
SubscriptionSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the subscription was created.The Amazon DataZone user who created the subscription.The identifier of the Amazon DataZone domain in which a subscription exists.The identifier of the subscription.retainPermissions
(Boolean retainPermissions) The retain permissions included in the subscription.The status of the subscription.status
(SubscriptionStatus status) The status of the subscription.default SubscriptionSummary.Builder
subscribedListing
(Consumer<SubscribedListing.Builder> subscribedListing) The listing included in the subscription.subscribedListing
(SubscribedListing subscribedListing) The listing included in the subscription.default SubscriptionSummary.Builder
subscribedPrincipal
(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal) The principal included in the subscription.subscribedPrincipal
(SubscribedPrincipal subscribedPrincipal) The principal included in the subscription.subscriptionRequestId
(String subscriptionRequestId) The identifier of the subscription request for the subscription.The timestamp of when the subscription was updated.The Amazon DataZone user who updated the subscription.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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 theSubscribedListing.Builder
avoiding the need to create one manually viaSubscribedListing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribedListing(SubscribedListing)
.- Parameters:
subscribedListing
- a consumer that will call methods onSubscribedListing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theSubscribedPrincipal.Builder
avoiding the need to create one manually viaSubscribedPrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribedPrincipal(SubscribedPrincipal)
.- Parameters:
subscribedPrincipal
- a consumer that will call methods onSubscribedPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-