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 theUpdateSubscriptionRequest
action.The identifier of the Amazon DataZone domain in which a subscription request is to be updated.existingSubscriptionId
(String existingSubscriptionId) The ID of the existing subscription.The identifier of the subscription request that is to be updated.metadataForms
(Collection<FormOutput> metadataForms) Metadata forms included in the subscription request.metadataForms
(Consumer<FormOutput.Builder>... metadataForms) Metadata forms included in the subscription request.metadataForms
(FormOutput... metadataForms) Metadata forms included in the subscription request.requestReason
(String requestReason) The reason for theUpdateSubscriptionRequest
action.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
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 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
UpdateSubscriptionRequest
action.- Parameters:
decisionComment
- The decision comment of theUpdateSubscriptionRequest
action.- 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.
-
existingSubscriptionId
The ID of the existing subscription.
- Parameters:
existingSubscriptionId
- The ID of the existing subscription.- 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.
-
metadataForms
Metadata forms included in the subscription request.
- Parameters:
metadataForms
- Metadata forms included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
Metadata forms included in the subscription request.
- Parameters:
metadataForms
- Metadata forms included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
UpdateSubscriptionRequestResponse.Builder metadataForms(Consumer<FormOutput.Builder>... metadataForms) Metadata forms included in the subscription request.
This is a convenience method that creates an instance of theFormOutput.Builder
avoiding the need to create one manually viaFormOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataForms(List<FormOutput>)
.- Parameters:
metadataForms
- a consumer that will call methods onFormOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestReason
The reason for the
UpdateSubscriptionRequest
action.- Parameters:
requestReason
- The reason for theUpdateSubscriptionRequest
action.- 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.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
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.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.
-