Interface RevokeSubscriptionResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<RevokeSubscriptionResponse.Builder,,- RevokeSubscriptionResponse> - DataZoneResponse.Builder,- SdkBuilder<RevokeSubscriptionResponse.Builder,,- RevokeSubscriptionResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- RevokeSubscriptionResponse
- 
Method SummaryModifier and TypeMethodDescriptionThe timestamp of when the subscription was revoked.The identifier of the user who revoked the subscription.The identifier of the Amazon DataZone domain where you want to revoke a subscription.The identifier of the revoked subscription.retainPermissions(Boolean retainPermissions) Specifies whether permissions are retained when the subscription is revoked.The status of the revoked subscription.status(SubscriptionStatus status) The status of the revoked subscription.subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing) The subscribed listing of the revoked subscription.subscribedListing(SubscribedListing subscribedListing) The subscribed listing of the revoked subscription.subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal) The subscribed principal of the revoked subscription.subscribedPrincipal(SubscribedPrincipal subscribedPrincipal) The subscribed principal of the revoked subscription.subscriptionRequestId(String subscriptionRequestId) The identifier of the subscription request for the revoked subscription.The timestamp of when the subscription was revoked.The Amazon DataZone user who revoked 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 of when the subscription was revoked. - Parameters:
- createdAt- The timestamp of when the subscription was revoked.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdByThe identifier of the user who revoked the subscription. - Parameters:
- createdBy- The identifier of the user who revoked the subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
domainIdThe identifier of the Amazon DataZone domain where you want to revoke a subscription. - Parameters:
- domainId- The identifier of the Amazon DataZone domain where you want to revoke a subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
idThe identifier of the revoked subscription. - Parameters:
- id- The identifier of the revoked subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retainPermissionsSpecifies whether permissions are retained when the subscription is revoked. - Parameters:
- retainPermissions- Specifies whether permissions are retained when the subscription is revoked.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the revoked subscription. - Parameters:
- status- The status of the revoked subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of the revoked subscription. - Parameters:
- status- The status of the revoked subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscribedListingThe subscribed listing of the revoked subscription. - Parameters:
- subscribedListing- The subscribed listing of the revoked subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subscribedListingdefault RevokeSubscriptionResponse.Builder subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing) The subscribed listing of the revoked 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 on- SubscribedListing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscribedPrincipalThe subscribed principal of the revoked subscription. - Parameters:
- subscribedPrincipal- The subscribed principal of the revoked subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subscribedPrincipaldefault RevokeSubscriptionResponse.Builder subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal) The subscribed principal of the revoked 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 on- SubscribedPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subscriptionRequestIdThe identifier of the subscription request for the revoked subscription. - Parameters:
- subscriptionRequestId- The identifier of the subscription request for the revoked subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatedAtThe timestamp of when the subscription was revoked. - Parameters:
- updatedAt- The timestamp of when the subscription was revoked.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
updatedByThe Amazon DataZone user who revoked the subscription. - Parameters:
- updatedBy- The Amazon DataZone user who revoked the subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-