Interface CancelSubscriptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CancelSubscriptionResponse.Builder,
,CancelSubscriptionResponse> DataZoneResponse.Builder
,SdkBuilder<CancelSubscriptionResponse.Builder,
,CancelSubscriptionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CancelSubscriptionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp that specifies when the request to cancel the subscription was created.Specifies the Amazon DataZone user who is cancelling the subscription.The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.The identifier of the subscription.retainPermissions
(Boolean retainPermissions) Specifies whether the permissions to the asset are retained after the subscription is cancelled.The status of the request to cancel the subscription.status
(SubscriptionStatus status) The status of the request to cancel the subscription.subscribedListing
(Consumer<SubscribedListing.Builder> subscribedListing) The asset to which a subscription is being cancelled.subscribedListing
(SubscribedListing subscribedListing) The asset to which a subscription is being cancelled.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.subscribedPrincipal
(SubscribedPrincipal subscribedPrincipal) The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.subscriptionRequestId
(String subscriptionRequestId) The unique ID of the subscripton request for the subscription that is being cancelled.The timestamp that specifies when the subscription was cancelled.The Amazon DataZone user that cancelled the subscription.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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.
-
status
The status of the request to cancel the subscription.
- Parameters:
status
- The status of the request to cancel the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the request to cancel the subscription.
- Parameters:
status
- The status of the request to cancel the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
subscribedListing
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 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 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.
-
subscribedPrincipal
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 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 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
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
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.
-