public static interface CancelSubscriptionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CancelSubscriptionResponse.Builder,CancelSubscriptionResponse>
| Modifier and Type | Method and Description |
|---|---|
CancelSubscriptionResponse.Builder |
createdAt(Instant createdAt)
The timestamp that specifies when the request to cancel the subscription was created.
|
CancelSubscriptionResponse.Builder |
createdBy(String createdBy)
Specifies the Amazon DataZone user who is cancelling the subscription.
|
CancelSubscriptionResponse.Builder |
domainId(String domainId)
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
|
CancelSubscriptionResponse.Builder |
id(String id)
The identifier of the subscription.
|
CancelSubscriptionResponse.Builder |
retainPermissions(Boolean retainPermissions)
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
|
CancelSubscriptionResponse.Builder |
status(String status)
The status of the request to cancel the subscription.
|
CancelSubscriptionResponse.Builder |
status(SubscriptionStatus status)
The status of the request to cancel the subscription.
|
default CancelSubscriptionResponse.Builder |
subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)
The asset to which a subscription is being cancelled.
|
CancelSubscriptionResponse.Builder |
subscribedListing(SubscribedListing subscribedListing)
The asset to which a subscription is being cancelled.
|
default CancelSubscriptionResponse.Builder |
subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being
cancelled.
|
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.
|
CancelSubscriptionResponse.Builder |
subscriptionRequestId(String subscriptionRequestId)
The unique ID of the subscripton request for the subscription that is being cancelled.
|
CancelSubscriptionResponse.Builder |
updatedAt(Instant updatedAt)
The timestamp that specifies when the subscription was cancelled.
|
CancelSubscriptionResponse.Builder |
updatedBy(String updatedBy)
The Amazon DataZone user that cancelled the subscription.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCancelSubscriptionResponse.Builder createdAt(Instant createdAt)
The timestamp that specifies when the request to cancel the subscription was created.
createdAt - The timestamp that specifies when the request to cancel the subscription was created.CancelSubscriptionResponse.Builder createdBy(String createdBy)
Specifies the Amazon DataZone user who is cancelling the subscription.
createdBy - Specifies the Amazon DataZone user who is cancelling the subscription.CancelSubscriptionResponse.Builder domainId(String domainId)
The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
domainId - The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.CancelSubscriptionResponse.Builder id(String id)
The identifier of the subscription.
id - The identifier of the subscription.CancelSubscriptionResponse.Builder retainPermissions(Boolean retainPermissions)
Specifies whether the permissions to the asset are retained after the subscription is cancelled.
retainPermissions - Specifies whether the permissions to the asset are retained after the subscription is cancelled.CancelSubscriptionResponse.Builder status(String status)
The status of the request to cancel the subscription.
status - The status of the request to cancel the subscription.SubscriptionStatus,
SubscriptionStatusCancelSubscriptionResponse.Builder status(SubscriptionStatus status)
The status of the request to cancel the subscription.
status - The status of the request to cancel the subscription.SubscriptionStatus,
SubscriptionStatusCancelSubscriptionResponse.Builder subscribedListing(SubscribedListing subscribedListing)
The asset to which a subscription is being cancelled.
subscribedListing - The asset to which a subscription is being cancelled.default CancelSubscriptionResponse.Builder subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)
The asset to which a subscription is being cancelled.
This is a convenience method that creates an instance of theSubscribedListing.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).
subscribedListing - a consumer that will call methods on SubscribedListing.BuildersubscribedListing(SubscribedListing)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.
subscribedPrincipal - The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is
being cancelled.default CancelSubscriptionResponse.Builder subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)
The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
This is a convenience method that creates an instance of theSubscribedPrincipal.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).
subscribedPrincipal - a consumer that will call methods on SubscribedPrincipal.BuildersubscribedPrincipal(SubscribedPrincipal)CancelSubscriptionResponse.Builder subscriptionRequestId(String subscriptionRequestId)
The unique ID of the subscripton request for the subscription that is being cancelled.
subscriptionRequestId - The unique ID of the subscripton request for the subscription that is being cancelled.CancelSubscriptionResponse.Builder updatedAt(Instant updatedAt)
The timestamp that specifies when the subscription was cancelled.
updatedAt - The timestamp that specifies when the subscription was cancelled.CancelSubscriptionResponse.Builder updatedBy(String updatedBy)
The Amazon DataZone user that cancelled the subscription.
updatedBy - The Amazon DataZone user that cancelled the subscription.Copyright © 2023. All rights reserved.