Interface AcceptSubscriptionRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AcceptSubscriptionRequestResponse.Builder,
,AcceptSubscriptionRequestResponse> DataZoneResponse.Builder
,SdkBuilder<AcceptSubscriptionRequestResponse.Builder,
,AcceptSubscriptionRequestResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AcceptSubscriptionRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp that specifies when the subscription request was accepted.Specifies the Amazon DataZone user that accepted the specified subscription request.decisionComment
(String decisionComment) Specifies the reason for accepting the subscription request.The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.existingSubscriptionId
(String existingSubscriptionId) The ID of the existing subscription.The identifier of the subscription request.metadataForms
(Collection<FormOutput> metadataForms) The metadata form in the subscription request.metadataForms
(Consumer<FormOutput.Builder>... metadataForms) The metadata form in the subscription request.metadataForms
(FormOutput... metadataForms) The metadata form in the subscription request.requestReason
(String requestReason) Specifies the reason for requesting a subscription to the asset.reviewerId
(String reviewerId) Specifes the ID of the Amazon DataZone user who reviewed the subscription request.Specifies the status of the subscription request.status
(SubscriptionRequestStatus status) Specifies the status of the subscription request.subscribedListings
(Collection<SubscribedListing> subscribedListings) Specifies the asset for which the subscription request was created.subscribedListings
(Consumer<SubscribedListing.Builder>... subscribedListings) Specifies the asset for which the subscription request was created.subscribedListings
(SubscribedListing... subscribedListings) Specifies the asset for which the subscription request was created.subscribedPrincipals
(Collection<SubscribedPrincipal> subscribedPrincipals) Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.subscribedPrincipals
(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals) Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.subscribedPrincipals
(SubscribedPrincipal... subscribedPrincipals) Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.Specifies the timestamp when subscription request was updated.Specifies 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 that specifies when the subscription request was accepted.
- Parameters:
createdAt
- The timestamp that specifies when the subscription request was accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Specifies the Amazon DataZone user that accepted the specified subscription request.
- Parameters:
createdBy
- Specifies the Amazon DataZone user that accepted the specified subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisionComment
Specifies the reason for accepting the subscription request.
- Parameters:
decisionComment
- Specifies the reason for accepting the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.
- Parameters:
domainId
- The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.- 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.
- Parameters:
id
- The identifier of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
The metadata form in the subscription request.
- Parameters:
metadataForms
- The metadata form in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
The metadata form in the subscription request.
- Parameters:
metadataForms
- The metadata form in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataForms
AcceptSubscriptionRequestResponse.Builder metadataForms(Consumer<FormOutput.Builder>... metadataForms) The metadata form 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
Specifies the reason for requesting a subscription to the asset.
- Parameters:
requestReason
- Specifies the reason for requesting a subscription to the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewerId
Specifes the ID of the Amazon DataZone user who reviewed the subscription request.
- Parameters:
reviewerId
- Specifes the ID of the Amazon DataZone user who reviewed the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Specifies the status of the subscription request.
- Parameters:
status
- Specifies the status of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Specifies the status of the subscription request.
- Parameters:
status
- Specifies the status of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscribedListings
AcceptSubscriptionRequestResponse.Builder subscribedListings(Collection<SubscribedListing> subscribedListings) Specifies the asset for which the subscription request was created.
- Parameters:
subscribedListings
- Specifies the asset for which the subscription request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
AcceptSubscriptionRequestResponse.Builder subscribedListings(SubscribedListing... subscribedListings) Specifies the asset for which the subscription request was created.
- Parameters:
subscribedListings
- Specifies the asset for which the subscription request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
AcceptSubscriptionRequestResponse.Builder subscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings) Specifies the asset for which the subscription request was 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
AcceptSubscriptionRequestResponse.Builder subscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals) Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
- Parameters:
subscribedPrincipals
- Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
AcceptSubscriptionRequestResponse.Builder subscribedPrincipals(SubscribedPrincipal... subscribedPrincipals) Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.
- Parameters:
subscribedPrincipals
- Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
AcceptSubscriptionRequestResponse.Builder subscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals) Specifies the Amazon DataZone users who are subscribed to the asset specified in 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
Specifies the timestamp when subscription request was updated.
- Parameters:
updatedAt
- Specifies the timestamp when subscription request was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
Specifies the Amazon DataZone user who updated the subscription request.
- Parameters:
updatedBy
- Specifies the Amazon DataZone user who updated the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-