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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
createdAtThe 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.
 
- 
createdBySpecifies 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.
 
- 
domainIdThe 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.
 
- 
idThe 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.
 
- 
retainPermissionsSpecifies 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.
 
- 
statusThe 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:
 
- 
statusThe 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:
 
- 
subscribedListingThe 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.
 
- 
subscribedListingdefault 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.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 on- SubscribedListing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscribedPrincipalThe 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.
 
- 
subscribedPrincipaldefault 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.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 on- SubscribedPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscriptionRequestIdThe 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.
 
- 
updatedAtThe 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.
 
- 
updatedByThe 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.
 
 
-