Interface SubscriptionRequestSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubscriptionRequestSummary.Builder,SubscriptionRequestSummary>,SdkBuilder<SubscriptionRequestSummary.Builder,SubscriptionRequestSummary>,SdkPojo
- Enclosing class:
- SubscriptionRequestSummary
public static interface SubscriptionRequestSummary.Builder extends SdkPojo, CopyableBuilder<SubscriptionRequestSummary.Builder,SubscriptionRequestSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionRequestSummary.BuildercreatedAt(Instant createdAt)The timestamp of when a subscription request was created.SubscriptionRequestSummary.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the subscription request.SubscriptionRequestSummary.BuilderdecisionComment(String decisionComment)The decision comment of the subscription request.SubscriptionRequestSummary.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which a subscription request exists.SubscriptionRequestSummary.Builderid(String id)The identifier of the subscription request.SubscriptionRequestSummary.BuilderrequestReason(String requestReason)The reason for the subscription request.SubscriptionRequestSummary.BuilderreviewerId(String reviewerId)The identifier of the subscription request reviewer.SubscriptionRequestSummary.Builderstatus(String status)The status of the subscription request.SubscriptionRequestSummary.Builderstatus(SubscriptionRequestStatus status)The status of the subscription request.SubscriptionRequestSummary.BuildersubscribedListings(Collection<SubscribedListing> subscribedListings)The listings included in the subscription request.SubscriptionRequestSummary.BuildersubscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings)The listings included in the subscription request.SubscriptionRequestSummary.BuildersubscribedListings(SubscribedListing... subscribedListings)The listings included in the subscription request.SubscriptionRequestSummary.BuildersubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)The principals included in the subscription request.SubscriptionRequestSummary.BuildersubscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals)The principals included in the subscription request.SubscriptionRequestSummary.BuildersubscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)The principals included in the subscription request.SubscriptionRequestSummary.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription request was updated.SubscriptionRequestSummary.BuilderupdatedBy(String updatedBy)The identifier of 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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
createdAt
SubscriptionRequestSummary.Builder createdAt(Instant createdAt)
The timestamp of when a subscription request was created.
- Parameters:
createdAt- The timestamp of when a subscription request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
SubscriptionRequestSummary.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
SubscriptionRequestSummary.Builder decisionComment(String decisionComment)
The decision comment of the subscription request.
- Parameters:
decisionComment- The decision comment of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
SubscriptionRequestSummary.Builder domainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription request exists.
- Parameters:
domainId- The identifier of the Amazon DataZone domain in which a subscription request exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
SubscriptionRequestSummary.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
SubscriptionRequestSummary.Builder requestReason(String requestReason)
The reason for the subscription request.
- Parameters:
requestReason- The reason for the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reviewerId
SubscriptionRequestSummary.Builder reviewerId(String reviewerId)
The identifier of the subscription request reviewer.
- Parameters:
reviewerId- The identifier of the subscription request reviewer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
SubscriptionRequestSummary.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
SubscriptionRequestSummary.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
SubscriptionRequestSummary.Builder subscribedListings(Collection<SubscribedListing> subscribedListings)
The listings included in the subscription request.
- Parameters:
subscribedListings- The listings included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
SubscriptionRequestSummary.Builder subscribedListings(SubscribedListing... subscribedListings)
The listings included in the subscription request.
- Parameters:
subscribedListings- The listings included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
SubscriptionRequestSummary.Builder subscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings)
The listings included in 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
SubscriptionRequestSummary.Builder subscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)
The principals included in the subscription request.
- Parameters:
subscribedPrincipals- The principals included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
SubscriptionRequestSummary.Builder subscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)
The principals included in the subscription request.
- Parameters:
subscribedPrincipals- The principals included in the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipals
SubscriptionRequestSummary.Builder subscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals)
The principals included 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
SubscriptionRequestSummary.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
SubscriptionRequestSummary.Builder updatedBy(String updatedBy)
The identifier of the Amazon DataZone user who updated the subscription request.
- Parameters:
updatedBy- The identifier of the Amazon DataZone user who updated the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-