Interface AcceptSubscriptionRequestResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AcceptSubscriptionRequestResponse.Builder,AcceptSubscriptionRequestResponse>,DataZoneResponse.Builder,SdkBuilder<AcceptSubscriptionRequestResponse.Builder,AcceptSubscriptionRequestResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AcceptSubscriptionRequestResponse
public static interface AcceptSubscriptionRequestResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<AcceptSubscriptionRequestResponse.Builder,AcceptSubscriptionRequestResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AcceptSubscriptionRequestResponse.BuildercreatedAt(Instant createdAt)The timestamp that specifies when the subscription request was accepted.AcceptSubscriptionRequestResponse.BuildercreatedBy(String createdBy)Specifies the Amazon DataZone user that accepted the specified subscription request.AcceptSubscriptionRequestResponse.BuilderdecisionComment(String decisionComment)Specifies the reason for accepting the subscription request.AcceptSubscriptionRequestResponse.BuilderdomainId(String domainId)The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.AcceptSubscriptionRequestResponse.Builderid(String id)The identifier of the subscription request.AcceptSubscriptionRequestResponse.BuilderrequestReason(String requestReason)Specifies the reason for requesting a subscription to the asset.AcceptSubscriptionRequestResponse.BuilderreviewerId(String reviewerId)Specifes the ID of the Amazon DataZone user who reviewed the subscription request.AcceptSubscriptionRequestResponse.Builderstatus(String status)Specifies the status of the subscription request.AcceptSubscriptionRequestResponse.Builderstatus(SubscriptionRequestStatus status)Specifies the status of the subscription request.AcceptSubscriptionRequestResponse.BuildersubscribedListings(Collection<SubscribedListing> subscribedListings)Specifies the asset for which the subscription request was created.AcceptSubscriptionRequestResponse.BuildersubscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings)Specifies the asset for which the subscription request was created.AcceptSubscriptionRequestResponse.BuildersubscribedListings(SubscribedListing... subscribedListings)Specifies the asset for which the subscription request was created.AcceptSubscriptionRequestResponse.BuildersubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.AcceptSubscriptionRequestResponse.BuildersubscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals)Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.AcceptSubscriptionRequestResponse.BuildersubscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.AcceptSubscriptionRequestResponse.BuilderupdatedAt(Instant updatedAt)Specifies the timestamp when subscription request was updated.AcceptSubscriptionRequestResponse.BuilderupdatedBy(String updatedBy)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdAt
AcceptSubscriptionRequestResponse.Builder createdAt(Instant 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
AcceptSubscriptionRequestResponse.Builder createdBy(String 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
AcceptSubscriptionRequestResponse.Builder decisionComment(String 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
AcceptSubscriptionRequestResponse.Builder domainId(String 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.
-
id
AcceptSubscriptionRequestResponse.Builder id(String 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.
-
requestReason
AcceptSubscriptionRequestResponse.Builder requestReason(String 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
AcceptSubscriptionRequestResponse.Builder reviewerId(String 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
AcceptSubscriptionRequestResponse.Builder status(String 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:
SubscriptionRequestStatus,SubscriptionRequestStatus
-
status
AcceptSubscriptionRequestResponse.Builder status(SubscriptionRequestStatus 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:
SubscriptionRequestStatus,SubscriptionRequestStatus
-
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.Builderavoiding the need to create one manually viaSubscribedListing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscribedListings(List.) - 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:
#subscribedListings(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaSubscribedPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscribedPrincipals(List.) - 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:
#subscribedPrincipals(java.util.Collection)
-
updatedAt
AcceptSubscriptionRequestResponse.Builder updatedAt(Instant 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
AcceptSubscriptionRequestResponse.Builder updatedBy(String 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.
-
-