Interface UpdateSubscriptionRequestResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSubscriptionRequestResponse.Builder,UpdateSubscriptionRequestResponse>,DataZoneResponse.Builder,SdkBuilder<UpdateSubscriptionRequestResponse.Builder,UpdateSubscriptionRequestResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateSubscriptionRequestResponse
public static interface UpdateSubscriptionRequestResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<UpdateSubscriptionRequestResponse.Builder,UpdateSubscriptionRequestResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateSubscriptionRequestResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the subscription request was created.UpdateSubscriptionRequestResponse.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the subscription request.UpdateSubscriptionRequestResponse.BuilderdecisionComment(String decisionComment)The decision comment of theUpdateSubscriptionRequestaction.UpdateSubscriptionRequestResponse.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which a subscription request is to be updated.UpdateSubscriptionRequestResponse.Builderid(String id)The identifier of the subscription request that is to be updated.UpdateSubscriptionRequestResponse.BuilderrequestReason(String requestReason)The reason for theUpdateSubscriptionRequestaction.UpdateSubscriptionRequestResponse.BuilderreviewerId(String reviewerId)The identifier of the Amazon DataZone user who reviews the subscription request.UpdateSubscriptionRequestResponse.Builderstatus(String status)The status of the subscription request.UpdateSubscriptionRequestResponse.Builderstatus(SubscriptionRequestStatus status)The status of the subscription request.UpdateSubscriptionRequestResponse.BuildersubscribedListings(Collection<SubscribedListing> subscribedListings)The subscribed listings of the subscription request.UpdateSubscriptionRequestResponse.BuildersubscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings)The subscribed listings of the subscription request.UpdateSubscriptionRequestResponse.BuildersubscribedListings(SubscribedListing... subscribedListings)The subscribed listings of the subscription request.UpdateSubscriptionRequestResponse.BuildersubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)The subscribed principals of the subscription request.UpdateSubscriptionRequestResponse.BuildersubscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals)The subscribed principals of the subscription request.UpdateSubscriptionRequestResponse.BuildersubscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)The subscribed principals of the subscription request.UpdateSubscriptionRequestResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription request was updated.UpdateSubscriptionRequestResponse.BuilderupdatedBy(String updatedBy)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
UpdateSubscriptionRequestResponse.Builder createdAt(Instant 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
UpdateSubscriptionRequestResponse.Builder createdBy(String 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
UpdateSubscriptionRequestResponse.Builder decisionComment(String 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
UpdateSubscriptionRequestResponse.Builder domainId(String 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
UpdateSubscriptionRequestResponse.Builder id(String 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
UpdateSubscriptionRequestResponse.Builder requestReason(String 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
UpdateSubscriptionRequestResponse.Builder reviewerId(String 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
UpdateSubscriptionRequestResponse.Builder status(String 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:
SubscriptionRequestStatus,SubscriptionRequestStatus
-
status
UpdateSubscriptionRequestResponse.Builder status(SubscriptionRequestStatus 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:
SubscriptionRequestStatus,SubscriptionRequestStatus
-
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 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
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 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
UpdateSubscriptionRequestResponse.Builder updatedAt(Instant 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
UpdateSubscriptionRequestResponse.Builder updatedBy(String 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.
-
-