public static interface GetSubscriptionGrantResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetSubscriptionGrantResponse.Builder,GetSubscriptionGrantResponse>
| Modifier and Type | Method and Description |
|---|---|
GetSubscriptionGrantResponse.Builder |
assets(Collection<SubscribedAsset> assets)
The assets for which the subscription grant is created.
|
GetSubscriptionGrantResponse.Builder |
assets(Consumer<SubscribedAsset.Builder>... assets)
The assets for which the subscription grant is created.
|
GetSubscriptionGrantResponse.Builder |
assets(SubscribedAsset... assets)
The assets for which the subscription grant is created.
|
GetSubscriptionGrantResponse.Builder |
createdAt(Instant createdAt)
The timestamp of when the subscription grant is created.
|
GetSubscriptionGrantResponse.Builder |
createdBy(String createdBy)
The Amazon DataZone user who created the subscription grant.
|
GetSubscriptionGrantResponse.Builder |
domainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription grant exists.
|
default GetSubscriptionGrantResponse.Builder |
grantedEntity(Consumer<GrantedEntity.Builder> grantedEntity)
The entity to which the subscription is granted.
|
GetSubscriptionGrantResponse.Builder |
grantedEntity(GrantedEntity grantedEntity)
The entity to which the subscription is granted.
|
GetSubscriptionGrantResponse.Builder |
id(String id)
The ID of the subscription grant.
|
GetSubscriptionGrantResponse.Builder |
status(String status)
The status of the subscription grant.
|
GetSubscriptionGrantResponse.Builder |
status(SubscriptionGrantOverallStatus status)
The status of the subscription grant.
|
GetSubscriptionGrantResponse.Builder |
subscriptionId(String subscriptionId)
The identifier of the subscription.
|
GetSubscriptionGrantResponse.Builder |
subscriptionTargetId(String subscriptionTargetId)
The subscription target ID associated with the subscription grant.
|
GetSubscriptionGrantResponse.Builder |
updatedAt(Instant updatedAt)
The timestamp of when the subscription grant was upated.
|
GetSubscriptionGrantResponse.Builder |
updatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSubscriptionGrantResponse.Builder assets(Collection<SubscribedAsset> assets)
The assets for which the subscription grant is created.
assets - The assets for which the subscription grant is created.GetSubscriptionGrantResponse.Builder assets(SubscribedAsset... assets)
The assets for which the subscription grant is created.
assets - The assets for which the subscription grant is created.GetSubscriptionGrantResponse.Builder assets(Consumer<SubscribedAsset.Builder>... assets)
The assets for which the subscription grant is created.
This is a convenience method that creates an instance of theSubscribedAsset.Builder avoiding the need to create
one manually via SubscribedAsset.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #assets(List.
assets - a consumer that will call methods on
SubscribedAsset.Builder#assets(java.util.Collection) GetSubscriptionGrantResponse.Builder createdAt(Instant createdAt)
The timestamp of when the subscription grant is created.
createdAt - The timestamp of when the subscription grant is created.GetSubscriptionGrantResponse.Builder createdBy(String createdBy)
The Amazon DataZone user who created the subscription grant.
createdBy - The Amazon DataZone user who created the subscription grant.GetSubscriptionGrantResponse.Builder domainId(String domainId)
The ID of the Amazon DataZone domain in which the subscription grant exists.
domainId - The ID of the Amazon DataZone domain in which the subscription grant exists.GetSubscriptionGrantResponse.Builder grantedEntity(GrantedEntity grantedEntity)
The entity to which the subscription is granted.
grantedEntity - The entity to which the subscription is granted.default GetSubscriptionGrantResponse.Builder grantedEntity(Consumer<GrantedEntity.Builder> grantedEntity)
The entity to which the subscription is granted.
This is a convenience method that creates an instance of theGrantedEntity.Builder avoiding the need
to create one manually via GrantedEntity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to grantedEntity(GrantedEntity).
grantedEntity - a consumer that will call methods on GrantedEntity.BuildergrantedEntity(GrantedEntity)GetSubscriptionGrantResponse.Builder id(String id)
The ID of the subscription grant.
id - The ID of the subscription grant.GetSubscriptionGrantResponse.Builder status(String status)
The status of the subscription grant.
status - The status of the subscription grant.SubscriptionGrantOverallStatus,
SubscriptionGrantOverallStatusGetSubscriptionGrantResponse.Builder status(SubscriptionGrantOverallStatus status)
The status of the subscription grant.
status - The status of the subscription grant.SubscriptionGrantOverallStatus,
SubscriptionGrantOverallStatusGetSubscriptionGrantResponse.Builder subscriptionId(String subscriptionId)
The identifier of the subscription.
subscriptionId - The identifier of the subscription.GetSubscriptionGrantResponse.Builder subscriptionTargetId(String subscriptionTargetId)
The subscription target ID associated with the subscription grant.
subscriptionTargetId - The subscription target ID associated with the subscription grant.GetSubscriptionGrantResponse.Builder updatedAt(Instant updatedAt)
The timestamp of when the subscription grant was upated.
updatedAt - The timestamp of when the subscription grant was upated.GetSubscriptionGrantResponse.Builder updatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant.
updatedBy - The Amazon DataZone user who updated the subscription grant.Copyright © 2023. All rights reserved.