Interface GetSubscriptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSubscriptionResponse.Builder,
,GetSubscriptionResponse> DataZoneResponse.Builder
,SdkBuilder<GetSubscriptionResponse.Builder,
,GetSubscriptionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSubscriptionResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the subscription was created.The Amazon DataZone user who created the subscription.The ID of the Amazon DataZone domain in which the subscription exists.The ID of the subscription.retainPermissions
(Boolean retainPermissions) The retain permissions of the subscription.The status of the subscription.status
(SubscriptionStatus status) The status of the subscription.default GetSubscriptionResponse.Builder
subscribedListing
(Consumer<SubscribedListing.Builder> subscribedListing) The details of the published asset for which the subscription grant is created.subscribedListing
(SubscribedListing subscribedListing) The details of the published asset for which the subscription grant is created.default GetSubscriptionResponse.Builder
subscribedPrincipal
(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal) The principal that owns the subscription.subscribedPrincipal
(SubscribedPrincipal subscribedPrincipal) The principal that owns the subscription.subscriptionRequestId
(String subscriptionRequestId) The ID of the subscription request.The timestamp of when the subscription was updated.The Amazon DataZone user who updated 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 created.
- Parameters:
createdAt
- The timestamp of when the subscription was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The Amazon DataZone user who created the subscription.
- Parameters:
createdBy
- The Amazon DataZone user who created the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The ID of the Amazon DataZone domain in which the subscription exists.
- Parameters:
domainId
- The ID of the Amazon DataZone domain in which the subscription exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the subscription.
- Parameters:
id
- The ID of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retainPermissions
The retain permissions of the subscription.
- Parameters:
retainPermissions
- The retain permissions of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the subscription.
- Parameters:
status
- The status of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the subscription.
- Parameters:
status
- The status of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscribedListing
The details of the published asset for which the subscription grant is created.
- Parameters:
subscribedListing
- The details of the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListing
default GetSubscriptionResponse.Builder subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing) The details of the published asset for which the subscription grant is created.
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 principal that owns the subscription.
- Parameters:
subscribedPrincipal
- The principal that owns the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipal
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 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 ID of the subscription request.
- Parameters:
subscriptionRequestId
- The ID of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp of when the subscription was updated.
- Parameters:
updatedAt
- The timestamp of when the subscription was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The Amazon DataZone user who updated the subscription.
- Parameters:
updatedBy
- The Amazon DataZone user who updated the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-