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 Summary
Modifier 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.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 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.
-
createdBy
The 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.
-
domainId
The 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.
-
id
The 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.
-
retainPermissions
Specifies 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.
-
status
The 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:
-
status
The 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:
-
subscribedListing
The 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.
-
subscribedListing
default 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.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 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.
-
subscribedPrincipal
default 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.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 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.
-
updatedAt
The 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.
-
updatedBy
The 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.
-