Interface CreateSubscriptionRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateSubscriptionRequestResponse.Builder,
,CreateSubscriptionRequestResponse> DataZoneResponse.Builder
,SdkBuilder<CreateSubscriptionRequestResponse.Builder,
,CreateSubscriptionRequestResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateSubscriptionRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptionA timestamp of when the subscription request is created.The Amazon DataZone user who created the subscription request.decisionComment
(String decisionComment) The decision comment of the subscription request.The ID of the Amazon DataZone domain in whcih the subscription request is created.The ID of the subscription request.requestReason
(String requestReason) The reason for the subscription request.reviewerId
(String reviewerId) The ID of the reviewer of the subscription request.The status of the subscription request.status
(SubscriptionRequestStatus status) The status of the subscription request.subscribedListings
(Collection<SubscribedListing> subscribedListings) The published asset for which the subscription grant is to be created.subscribedListings
(Consumer<SubscribedListing.Builder>... subscribedListings) The published asset for which the subscription grant is to be created.subscribedListings
(SubscribedListing... subscribedListings) The published asset for which the subscription grant is to be created.subscribedPrincipals
(Collection<SubscribedPrincipal> subscribedPrincipals) The subscribed principals of the subscription request.subscribedPrincipals
(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals) The subscribed principals of the subscription request.subscribedPrincipals
(SubscribedPrincipal... subscribedPrincipals) The subscribed principals of the subscription request.The timestamp of when the subscription request was updated.The Amazon DataZone user who updated the subscription request.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 Details
-
createdAt
A timestamp of when the subscription request is created.
- Parameters:
createdAt
- A timestamp of when the subscription request is 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 request.
- Parameters:
createdBy
- The Amazon DataZone user who created the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisionComment
The decision comment of the subscription request.
- Parameters:
decisionComment
- The decision comment of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The ID of the Amazon DataZone domain in whcih the subscription request is created.
- Parameters:
domainId
- The ID of the Amazon DataZone domain in whcih the subscription request is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the subscription request.
- Parameters:
id
- The ID of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestReason
The reason for the subscription request.
- Parameters:
requestReason
- The reason for the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewerId
The ID of the reviewer of the subscription request.
- Parameters:
reviewerId
- The ID of the reviewer of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the subscription request.
- Parameters:
status
- The status of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the subscription request.
- Parameters:
status
- The status of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscribedListings
CreateSubscriptionRequestResponse.Builder subscribedListings(Collection<SubscribedListing> subscribedListings) The published asset for which the subscription grant is to be created.
- Parameters:
subscribedListings
- The published asset for which the subscription grant is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestResponse.Builder subscribedListings(SubscribedListing... subscribedListings) The published asset for which the subscription grant is to be created.
- Parameters:
subscribedListings
- The published asset for which the subscription grant is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestResponse.Builder subscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings) The published asset for which the subscription grant is to be 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 tosubscribedListings(List<SubscribedListing>)
.- Parameters:
subscribedListings
- 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:
-
subscribedPrincipals
CreateSubscriptionRequestResponse.Builder subscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals) The subscribed principals of the subscription request.
- Parameters:
subscribedPrincipals
- The subscribed principals of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
CreateSubscriptionRequestResponse.Builder subscribedPrincipals(SubscribedPrincipal... subscribedPrincipals) The subscribed principals of the subscription request.
- Parameters:
subscribedPrincipals
- The subscribed principals of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
CreateSubscriptionRequestResponse.Builder subscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals) The subscribed principals of the subscription request.
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 tosubscribedPrincipals(List<SubscribedPrincipal>)
.- Parameters:
subscribedPrincipals
- 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:
-
updatedAt
The timestamp of when the subscription request was updated.
- Parameters:
updatedAt
- The timestamp of when the subscription request 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 request.
- Parameters:
updatedBy
- The Amazon DataZone user who updated the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-