Interface SubscriptionGrantSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubscriptionGrantSummary.Builder,SubscriptionGrantSummary>,SdkBuilder<SubscriptionGrantSummary.Builder,SubscriptionGrantSummary>,SdkPojo
- Enclosing class:
- SubscriptionGrantSummary
public static interface SubscriptionGrantSummary.Builder extends SdkPojo, CopyableBuilder<SubscriptionGrantSummary.Builder,SubscriptionGrantSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SubscriptionGrantSummary.Builderassets(Collection<SubscribedAsset> assets)The assets included in the subscription grant.SubscriptionGrantSummary.Builderassets(Consumer<SubscribedAsset.Builder>... assets)The assets included in the subscription grant.SubscriptionGrantSummary.Builderassets(SubscribedAsset... assets)The assets included in the subscription grant.SubscriptionGrantSummary.BuildercreatedAt(Instant createdAt)The timestamp of when a subscription grant was created.SubscriptionGrantSummary.BuildercreatedBy(String createdBy)The datazone user who created the subscription grant.SubscriptionGrantSummary.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which a subscription grant exists.default SubscriptionGrantSummary.BuildergrantedEntity(Consumer<GrantedEntity.Builder> grantedEntity)The entity to which the subscription is granted.SubscriptionGrantSummary.BuildergrantedEntity(GrantedEntity grantedEntity)The entity to which the subscription is granted.SubscriptionGrantSummary.Builderid(String id)The identifier of the subscription grant.SubscriptionGrantSummary.Builderstatus(String status)The status of the subscription grant.SubscriptionGrantSummary.Builderstatus(SubscriptionGrantOverallStatus status)The status of the subscription grant.SubscriptionGrantSummary.BuildersubscriptionId(String subscriptionId)The ID of the subscription grant.SubscriptionGrantSummary.BuildersubscriptionTargetId(String subscriptionTargetId)The identifier of the target of the subscription grant.SubscriptionGrantSummary.BuilderupdatedAt(Instant updatedAt)The timestampf of when the subscription grant was updated.SubscriptionGrantSummary.BuilderupdatedBy(String updatedBy)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, sdkFields
-
-
-
-
Method Detail
-
assets
SubscriptionGrantSummary.Builder assets(Collection<SubscribedAsset> 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
SubscriptionGrantSummary.Builder assets(SubscribedAsset... 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
SubscriptionGrantSummary.Builder assets(Consumer<SubscribedAsset.Builder>... assets)
The assets included in the subscription grant.
This is a convenience method that creates an instance of theSubscribedAsset.Builderavoiding the need to create one manually viaSubscribedAsset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assets(List.) - 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:
#assets(java.util.Collection)
-
createdAt
SubscriptionGrantSummary.Builder createdAt(Instant 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
SubscriptionGrantSummary.Builder createdBy(String 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
SubscriptionGrantSummary.Builder domainId(String 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
SubscriptionGrantSummary.Builder grantedEntity(GrantedEntity 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.Builderavoiding the need to create one manually viaGrantedEntity.builder().When the
Consumercompletes,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:
grantedEntity(GrantedEntity)
-
id
SubscriptionGrantSummary.Builder id(String 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
SubscriptionGrantSummary.Builder status(String 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:
SubscriptionGrantOverallStatus,SubscriptionGrantOverallStatus
-
status
SubscriptionGrantSummary.Builder status(SubscriptionGrantOverallStatus 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:
SubscriptionGrantOverallStatus,SubscriptionGrantOverallStatus
-
subscriptionId
SubscriptionGrantSummary.Builder subscriptionId(String subscriptionId)
The ID of the subscription grant.
- Parameters:
subscriptionId- The ID of the subscription grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTargetId
SubscriptionGrantSummary.Builder subscriptionTargetId(String 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
SubscriptionGrantSummary.Builder updatedAt(Instant 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
SubscriptionGrantSummary.Builder updatedBy(String 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.
-
-