Interface RevokeSubscriptionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>,DataZoneResponse.Builder,SdkBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- RevokeSubscriptionResponse
public static interface RevokeSubscriptionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<RevokeSubscriptionResponse.Builder,RevokeSubscriptionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RevokeSubscriptionResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the subscription was revoked.RevokeSubscriptionResponse.BuildercreatedBy(String createdBy)The identifier of the user who revoked the subscription.RevokeSubscriptionResponse.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain where you want to revoke a subscription.RevokeSubscriptionResponse.Builderid(String id)The identifier of the revoked subscription.RevokeSubscriptionResponse.BuilderretainPermissions(Boolean retainPermissions)Specifies whether permissions are retained when the subscription is revoked.RevokeSubscriptionResponse.Builderstatus(String status)The status of the revoked subscription.RevokeSubscriptionResponse.Builderstatus(SubscriptionStatus status)The status of the revoked subscription.default RevokeSubscriptionResponse.BuildersubscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)The subscribed listing of the revoked subscription.RevokeSubscriptionResponse.BuildersubscribedListing(SubscribedListing subscribedListing)The subscribed listing of the revoked subscription.default RevokeSubscriptionResponse.BuildersubscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)The subscribed principal of the revoked subscription.RevokeSubscriptionResponse.BuildersubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)The subscribed principal of the revoked subscription.RevokeSubscriptionResponse.BuildersubscriptionRequestId(String subscriptionRequestId)The identifier of the subscription request for the revoked subscription.RevokeSubscriptionResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription was revoked.RevokeSubscriptionResponse.BuilderupdatedBy(String updatedBy)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdAt
RevokeSubscriptionResponse.Builder createdAt(Instant 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
RevokeSubscriptionResponse.Builder createdBy(String 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
RevokeSubscriptionResponse.Builder domainId(String 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
RevokeSubscriptionResponse.Builder id(String 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
RevokeSubscriptionResponse.Builder retainPermissions(Boolean 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
RevokeSubscriptionResponse.Builder status(String 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:
SubscriptionStatus,SubscriptionStatus
-
status
RevokeSubscriptionResponse.Builder status(SubscriptionStatus 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:
SubscriptionStatus,SubscriptionStatus
-
subscribedListing
RevokeSubscriptionResponse.Builder subscribedListing(SubscribedListing 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.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 onSubscribedListing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subscribedListing(SubscribedListing)
-
subscribedPrincipal
RevokeSubscriptionResponse.Builder subscribedPrincipal(SubscribedPrincipal 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.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 onSubscribedPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subscribedPrincipal(SubscribedPrincipal)
-
subscriptionRequestId
RevokeSubscriptionResponse.Builder subscriptionRequestId(String 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
RevokeSubscriptionResponse.Builder updatedAt(Instant 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
RevokeSubscriptionResponse.Builder updatedBy(String 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.
-
-