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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SubscriptionSummary.BuildercreatedAt(Instant createdAt)The timestamp of when the subscription was created.SubscriptionSummary.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the subscription.SubscriptionSummary.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which a subscription exists.SubscriptionSummary.Builderid(String id)The identifier of the subscription.SubscriptionSummary.BuilderretainPermissions(Boolean retainPermissions)The retain permissions included in the subscription.SubscriptionSummary.Builderstatus(String status)The status of the subscription.SubscriptionSummary.Builderstatus(SubscriptionStatus status)The status of the subscription.default SubscriptionSummary.BuildersubscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)The listing included in the subscription.SubscriptionSummary.BuildersubscribedListing(SubscribedListing subscribedListing)The listing included in the subscription.default SubscriptionSummary.BuildersubscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)The principal included in the subscription.SubscriptionSummary.BuildersubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)The principal included in the subscription.SubscriptionSummary.BuildersubscriptionRequestId(String subscriptionRequestId)The identifier of the subscription request for the subscription.SubscriptionSummary.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription was updated.SubscriptionSummary.BuilderupdatedBy(String updatedBy)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 Detail
-
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
SubscriptionSummary.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
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
SubscriptionSummary.Builder status(String 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:
SubscriptionStatus,SubscriptionStatus
-
status
SubscriptionSummary.Builder status(SubscriptionStatus 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:
SubscriptionStatus,SubscriptionStatus
-
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 theSubscribedListing.Builderavoiding the need to create one manually viaSubscribedListing.builder().When the
Consumercompletes,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:
subscribedListing(SubscribedListing)
-
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 theSubscribedPrincipal.Builderavoiding the need to create one manually viaSubscribedPrincipal.builder().When the
Consumercompletes,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:
subscribedPrincipal(SubscribedPrincipal)
-
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.
-
-