Interface UpdateSubscriptionRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSubscriptionRequestResponse.Builder,,UpdateSubscriptionRequestResponse> DataZoneResponse.Builder,SdkBuilder<UpdateSubscriptionRequestResponse.Builder,,UpdateSubscriptionRequestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSubscriptionRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the subscription request was created.The Amazon DataZone user who created the subscription request.decisionComment(String decisionComment) The decision comment of theUpdateSubscriptionRequestaction.The identifier of the Amazon DataZone domain in which a subscription request is to be updated.The identifier of the subscription request that is to be updated.requestReason(String requestReason) The reason for theUpdateSubscriptionRequestaction.reviewerId(String reviewerId) The identifier of the Amazon DataZone user who reviews the subscription request.The status of the subscription request.status(SubscriptionRequestStatus status) The status of the subscription request.subscribedListings(Collection<SubscribedListing> subscribedListings) The subscribed listings of the subscription request.subscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings) The subscribed listings of the subscription request.subscribedListings(SubscribedListing... subscribedListings) The subscribed listings of the subscription request.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
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdAt
The timestamp of when the subscription request was created.
- Parameters:
createdAt- The timestamp of when the subscription request 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 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
UpdateSubscriptionRequestaction.- Parameters:
decisionComment- The decision comment of theUpdateSubscriptionRequestaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The identifier of the Amazon DataZone domain in which a subscription request is to be updated.
- Parameters:
domainId- The identifier of the Amazon DataZone domain in which a subscription request is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier of the subscription request that is to be updated.
- Parameters:
id- The identifier of the subscription request that is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestReason
The reason for the
UpdateSubscriptionRequestaction.- Parameters:
requestReason- The reason for theUpdateSubscriptionRequestaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewerId
The identifier of the Amazon DataZone user who reviews the subscription request.
- Parameters:
reviewerId- The identifier of the Amazon DataZone user who reviews 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
UpdateSubscriptionRequestResponse.Builder subscribedListings(Collection<SubscribedListing> subscribedListings) The subscribed listings of the subscription request.
- Parameters:
subscribedListings- The subscribed listings of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
UpdateSubscriptionRequestResponse.Builder subscribedListings(SubscribedListing... subscribedListings) The subscribed listings of the subscription request.
- Parameters:
subscribedListings- The subscribed listings of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
UpdateSubscriptionRequestResponse.Builder subscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings) The subscribed listings of the subscription request.
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 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
UpdateSubscriptionRequestResponse.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
UpdateSubscriptionRequestResponse.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
UpdateSubscriptionRequestResponse.Builder subscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals) The subscribed principals of the subscription request.
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 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.
-