Interface GetSubscriptionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSubscriptionResponse.Builder,GetSubscriptionResponse>,DataZoneResponse.Builder,SdkBuilder<GetSubscriptionResponse.Builder,GetSubscriptionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSubscriptionResponse
public static interface GetSubscriptionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetSubscriptionResponse.Builder,GetSubscriptionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSubscriptionResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the subscription was created.GetSubscriptionResponse.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the subscription.GetSubscriptionResponse.BuilderdomainId(String domainId)The ID of the Amazon DataZone domain in which the subscription exists.GetSubscriptionResponse.Builderid(String id)The ID of the subscription.GetSubscriptionResponse.BuilderretainPermissions(Boolean retainPermissions)The retain permissions of the subscription.GetSubscriptionResponse.Builderstatus(String status)The status of the subscription.GetSubscriptionResponse.Builderstatus(SubscriptionStatus status)The status of the subscription.default GetSubscriptionResponse.BuildersubscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)The details of the published asset for which the subscription grant is created.GetSubscriptionResponse.BuildersubscribedListing(SubscribedListing subscribedListing)The details of the published asset for which the subscription grant is created.default GetSubscriptionResponse.BuildersubscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)The principal that owns the subscription.GetSubscriptionResponse.BuildersubscribedPrincipal(SubscribedPrincipal subscribedPrincipal)The principal that owns the subscription.GetSubscriptionResponse.BuildersubscriptionRequestId(String subscriptionRequestId)The ID of the subscription request.GetSubscriptionResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription was updated.GetSubscriptionResponse.BuilderupdatedBy(String updatedBy)The Amazon DataZone user who updated the subscription.-
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
GetSubscriptionResponse.Builder createdAt(Instant createdAt)
The timestamp of when the subscription was created.
- Parameters:
createdAt- The timestamp of when the subscription was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
GetSubscriptionResponse.Builder createdBy(String createdBy)
The Amazon DataZone user who created the subscription.
- Parameters:
createdBy- The Amazon DataZone user who created the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
GetSubscriptionResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription exists.
- Parameters:
domainId- The ID of the Amazon DataZone domain in which the subscription exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetSubscriptionResponse.Builder id(String id)
The ID of the subscription.
- Parameters:
id- The ID of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retainPermissions
GetSubscriptionResponse.Builder retainPermissions(Boolean retainPermissions)
The retain permissions of the subscription.
- Parameters:
retainPermissions- The retain permissions of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetSubscriptionResponse.Builder status(String status)
The status of the subscription.
- Parameters:
status- The status of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
status
GetSubscriptionResponse.Builder status(SubscriptionStatus status)
The status of the subscription.
- Parameters:
status- The status of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
subscribedListing
GetSubscriptionResponse.Builder subscribedListing(SubscribedListing subscribedListing)
The details of the published asset for which the subscription grant is created.
- Parameters:
subscribedListing- The details of the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedListing
default GetSubscriptionResponse.Builder subscribedListing(Consumer<SubscribedListing.Builder> subscribedListing)
The details of the published asset for which the subscription grant is 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 tosubscribedListing(SubscribedListing).- Parameters:
subscribedListing- 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:
subscribedListing(SubscribedListing)
-
subscribedPrincipal
GetSubscriptionResponse.Builder subscribedPrincipal(SubscribedPrincipal subscribedPrincipal)
The principal that owns the subscription.
- Parameters:
subscribedPrincipal- The principal that owns the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribedPrincipal
default GetSubscriptionResponse.Builder subscribedPrincipal(Consumer<SubscribedPrincipal.Builder> subscribedPrincipal)
The principal that owns the subscription.
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 tosubscribedPrincipal(SubscribedPrincipal).- Parameters:
subscribedPrincipal- 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:
subscribedPrincipal(SubscribedPrincipal)
-
subscriptionRequestId
GetSubscriptionResponse.Builder subscriptionRequestId(String subscriptionRequestId)
The ID of the subscription request.
- Parameters:
subscriptionRequestId- The ID of the subscription request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GetSubscriptionResponse.Builder updatedAt(Instant updatedAt)
The timestamp of when the subscription was updated.
- Parameters:
updatedAt- The timestamp of when the subscription was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
GetSubscriptionResponse.Builder updatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription.
- Parameters:
updatedBy- The Amazon DataZone user who updated the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-