public static interface GetSubscriptionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetSubscriptionResponse.Builder,GetSubscriptionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetSubscriptionResponse.Builder |
createdAt(Instant createdAt)
The timestamp of when the subscription was created.
|
GetSubscriptionResponse.Builder |
createdBy(String createdBy)
The Amazon DataZone user who created the subscription.
|
GetSubscriptionResponse.Builder |
domainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription exists.
|
GetSubscriptionResponse.Builder |
id(String id)
The ID of the subscription.
|
GetSubscriptionResponse.Builder |
retainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
|
GetSubscriptionResponse.Builder |
status(String status)
The status of the subscription.
|
GetSubscriptionResponse.Builder |
status(SubscriptionStatus status)
The status of the subscription.
|
default GetSubscriptionResponse.Builder |
subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)
This is a convenience method that creates an instance of the
SubscribedListing.Builder avoiding the
need to create one manually via SubscribedListing.builder(). |
GetSubscriptionResponse.Builder |
subscribedListing(SubscribedListing subscribedListing)
|
default GetSubscriptionResponse.Builder |
subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)
The principal that owns the subscription.
|
GetSubscriptionResponse.Builder |
subscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
|
GetSubscriptionResponse.Builder |
subscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
|
GetSubscriptionResponse.Builder |
updatedAt(Instant updatedAt)
The timestamp of when the subscription was updated.
|
GetSubscriptionResponse.Builder |
updatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSubscriptionResponse.Builder createdAt(Instant createdAt)
The timestamp of when the subscription was created.
createdAt - The timestamp of when the subscription was created.GetSubscriptionResponse.Builder createdBy(String createdBy)
The Amazon DataZone user who created the subscription.
createdBy - The Amazon DataZone user who created the subscription.GetSubscriptionResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription exists.
domainId - The ID of the Amazon DataZone domain in which the subscription exists.GetSubscriptionResponse.Builder id(String id)
The ID of the subscription.
id - The ID of the subscription.GetSubscriptionResponse.Builder retainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
retainPermissions - The retain permissions of the subscription.GetSubscriptionResponse.Builder status(String status)
The status of the subscription.
status - The status of the subscription.SubscriptionStatus,
SubscriptionStatusGetSubscriptionResponse.Builder status(SubscriptionStatus status)
The status of the subscription.
status - The status of the subscription.SubscriptionStatus,
SubscriptionStatusGetSubscriptionResponse.Builder subscribedListing(SubscribedListing subscribedListing)
subscribedListing - default GetSubscriptionResponse.Builder subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)
SubscribedListing.Builder avoiding the
need to create one manually via SubscribedListing.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to subscribedListing(SubscribedListing).
subscribedListing - a consumer that will call methods on SubscribedListing.BuildersubscribedListing(SubscribedListing)GetSubscriptionResponse.Builder subscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
subscribedPrincipal - The principal that owns the subscription.default GetSubscriptionResponse.Builder subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)
The principal that owns the subscription.
This is a convenience method that creates an instance of theSubscribedPrincipal.Builder avoiding the
need to create one manually via SubscribedPrincipal.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to subscribedPrincipal(SubscribedPrincipal).
subscribedPrincipal - a consumer that will call methods on SubscribedPrincipal.BuildersubscribedPrincipal(SubscribedPrincipal)GetSubscriptionResponse.Builder subscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
subscriptionRequestId - The ID of the subscription request.GetSubscriptionResponse.Builder updatedAt(Instant updatedAt)
The timestamp of when the subscription was updated.
updatedAt - The timestamp of when the subscription was updated.GetSubscriptionResponse.Builder updatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
updatedBy - The Amazon DataZone user who updated the subscription.Copyright © 2023. All rights reserved.