Interface SubscriptionGrantSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubscriptionGrantSummary.Builder,
,SubscriptionGrantSummary> SdkBuilder<SubscriptionGrantSummary.Builder,
,SubscriptionGrantSummary> SdkPojo
- Enclosing class:
SubscriptionGrantSummary
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<SubscribedAsset> assets) The assets included in the subscription grant.assets
(Consumer<SubscribedAsset.Builder>... assets) The assets included in the subscription grant.assets
(SubscribedAsset... assets) The assets included in the subscription grant.The timestamp of when a subscription grant was created.The datazone user who created the subscription grant.The identifier of the Amazon DataZone domain in which a subscription grant exists.default SubscriptionGrantSummary.Builder
grantedEntity
(Consumer<GrantedEntity.Builder> grantedEntity) The entity to which the subscription is granted.grantedEntity
(GrantedEntity grantedEntity) The entity to which the subscription is granted.The identifier of the subscription grant.The status of the subscription grant.status
(SubscriptionGrantOverallStatus status) The status of the subscription grant.subscriptionId
(String subscriptionId) Deprecated.Multiple subscriptions can exist for a single grantsubscriptionTargetId
(String subscriptionTargetId) The identifier of the target of the subscription grant.The timestampf of when the subscription grant was updated.The Amazon DataZone user who updated the subscription grant.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, sdkFieldNameToField, sdkFields
-
Method Details
-
assets
The assets included in the subscription grant.
- Parameters:
assets
- The assets included in the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets included in the subscription grant.
- Parameters:
assets
- The assets included in the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets included in the subscription grant.
This is a convenience method that creates an instance of theSubscribedAsset.Builder
avoiding the need to create one manually viaSubscribedAsset.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassets(List<SubscribedAsset>)
.- Parameters:
assets
- a consumer that will call methods onSubscribedAsset.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp of when a subscription grant was created.
- Parameters:
createdAt
- The timestamp of when a subscription grant was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The datazone user who created the subscription grant.
- Parameters:
createdBy
- The datazone user who created the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The identifier of the Amazon DataZone domain in which a subscription grant exists.
- Parameters:
domainId
- The identifier of the Amazon DataZone domain in which a subscription grant exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedEntity
The entity to which the subscription is granted.
- Parameters:
grantedEntity
- The entity to which the subscription is granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedEntity
default SubscriptionGrantSummary.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 viaGrantedEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tograntedEntity(GrantedEntity)
.- Parameters:
grantedEntity
- a consumer that will call methods onGrantedEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The identifier of the subscription grant.
- Parameters:
id
- The identifier of the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the subscription grant.
- Parameters:
status
- The status of the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the subscription grant.
- Parameters:
status
- The status of the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscriptionId
Deprecated.Multiple subscriptions can exist for a single grantThe ID of the subscription.
- Parameters:
subscriptionId
- The ID of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTargetId
The identifier of the target of the subscription grant.
- Parameters:
subscriptionTargetId
- The identifier of the target of the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestampf of when the subscription grant was updated.
- Parameters:
updatedAt
- The timestampf of when the subscription grant was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The Amazon DataZone user who updated the subscription grant.
- Parameters:
updatedBy
- The Amazon DataZone user who updated the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-