Interface CreateSubscriptionRequestResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSubscriptionRequestResponse.Builder,CreateSubscriptionRequestResponse>,DataZoneResponse.Builder,SdkBuilder<CreateSubscriptionRequestResponse.Builder,CreateSubscriptionRequestResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSubscriptionRequestResponse
public static interface CreateSubscriptionRequestResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateSubscriptionRequestResponse.Builder,CreateSubscriptionRequestResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSubscriptionRequestResponse.BuildercreatedAt(Instant createdAt)A timestamp of when the subscription request is created.CreateSubscriptionRequestResponse.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the subscription request.CreateSubscriptionRequestResponse.BuilderdecisionComment(String decisionComment)The decision comment of the subscription request.CreateSubscriptionRequestResponse.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain in whcih the subscription request is created.CreateSubscriptionRequestResponse.Builderid(String id)The ID of the subscription request.CreateSubscriptionRequestResponse.BuilderrequestReason(String requestReason)The reason for the subscription request.CreateSubscriptionRequestResponse.BuilderreviewerId(String reviewerId)The ID of the reviewer of the subscription request.CreateSubscriptionRequestResponse.Builderstatus(String status)The status of the subscription request.CreateSubscriptionRequestResponse.Builderstatus(SubscriptionRequestStatus status)The status of the subscription request.CreateSubscriptionRequestResponse.BuildersubscribedListings(Collection<SubscribedListing> subscribedListings)CreateSubscriptionRequestResponse.BuildersubscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings)This is a convenience method that creates an instance of theSubscribedListing.Builderavoiding the need to create one manually viaSubscribedListing.builder().CreateSubscriptionRequestResponse.BuildersubscribedListings(SubscribedListing... subscribedListings)CreateSubscriptionRequestResponse.BuildersubscribedPrincipals(Collection<SubscribedPrincipal> subscribedPrincipals)The subscribed principals of the subscription request.CreateSubscriptionRequestResponse.BuildersubscribedPrincipals(Consumer<SubscribedPrincipal.Builder>... subscribedPrincipals)The subscribed principals of the subscription request.CreateSubscriptionRequestResponse.BuildersubscribedPrincipals(SubscribedPrincipal... subscribedPrincipals)The subscribed principals of the subscription request.CreateSubscriptionRequestResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription request was updated.CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.Builder createdAt(Instant createdAt)
A timestamp of when the subscription request is created.
- Parameters:
createdAt- A timestamp of when the subscription request is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in whcih the subscription request is created.
- Parameters:
domainId- The ID of the Amazon DataZone domain in whcih the subscription request is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateSubscriptionRequestResponse.Builder id(String id)
The ID of the subscription request.
- Parameters:
id- The ID of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestReason
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.Builder reviewerId(String reviewerId)
The ID of the reviewer of the subscription request.
- Parameters:
reviewerId- The ID of the reviewer of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.Builder subscribedListings(Collection<SubscribedListing> subscribedListings)
- Parameters:
subscribedListings-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestResponse.Builder subscribedListings(SubscribedListing... subscribedListings)
- Parameters:
subscribedListings-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListings
CreateSubscriptionRequestResponse.Builder subscribedListings(Consumer<SubscribedListing.Builder>... subscribedListings)
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
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.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
CreateSubscriptionRequestResponse.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.
-
-