Interface UpdateSubscriptionGrantStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateSubscriptionGrantStatusResponse.Builder,UpdateSubscriptionGrantStatusResponse>,DataZoneResponse.Builder,SdkBuilder<UpdateSubscriptionGrantStatusResponse.Builder,UpdateSubscriptionGrantStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateSubscriptionGrantStatusResponse
public static interface UpdateSubscriptionGrantStatusResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<UpdateSubscriptionGrantStatusResponse.Builder,UpdateSubscriptionGrantStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSubscriptionGrantStatusResponse.Builderassets(Collection<SubscribedAsset> assets)The details of the asset for which the subscription grant is created.UpdateSubscriptionGrantStatusResponse.Builderassets(Consumer<SubscribedAsset.Builder>... assets)The details of the asset for which the subscription grant is created.UpdateSubscriptionGrantStatusResponse.Builderassets(SubscribedAsset... assets)The details of the asset for which the subscription grant is created.UpdateSubscriptionGrantStatusResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the subscription grant status was created.UpdateSubscriptionGrantStatusResponse.BuildercreatedBy(String createdBy)The Amazon DataZone domain user who created the subscription grant status.UpdateSubscriptionGrantStatusResponse.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.default UpdateSubscriptionGrantStatusResponse.BuildergrantedEntity(Consumer<GrantedEntity.Builder> grantedEntity)The granted entity to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusResponse.BuildergrantedEntity(GrantedEntity grantedEntity)The granted entity to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusResponse.Builderid(String id)The identifier of the subscription grant.UpdateSubscriptionGrantStatusResponse.Builderstatus(String status)The status to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusResponse.Builderstatus(SubscriptionGrantOverallStatus status)The status to be updated as part of theUpdateSubscriptionGrantStatusaction.UpdateSubscriptionGrantStatusResponse.BuildersubscriptionId(String subscriptionId)The identifier of the subscription.UpdateSubscriptionGrantStatusResponse.BuildersubscriptionTargetId(String subscriptionTargetId)The identifier of the subscription target whose subscription grant status is to be updated.UpdateSubscriptionGrantStatusResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the subscription grant status is to be updated.UpdateSubscriptionGrantStatusResponse.BuilderupdatedBy(String updatedBy)The Amazon DataZone user who updated the subscription grant status.-
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
-
assets
UpdateSubscriptionGrantStatusResponse.Builder assets(Collection<SubscribedAsset> assets)
The details of the asset for which the subscription grant is created.
- Parameters:
assets- The details of the asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
UpdateSubscriptionGrantStatusResponse.Builder assets(SubscribedAsset... assets)
The details of the asset for which the subscription grant is created.
- Parameters:
assets- The details of the asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
UpdateSubscriptionGrantStatusResponse.Builder assets(Consumer<SubscribedAsset.Builder>... assets)
The details of the asset for which the subscription grant is created.
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
UpdateSubscriptionGrantStatusResponse.Builder createdAt(Instant createdAt)
The timestamp of when the subscription grant status was created.
- Parameters:
createdAt- The timestamp of when the subscription grant status was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
UpdateSubscriptionGrantStatusResponse.Builder createdBy(String createdBy)
The Amazon DataZone domain user who created the subscription grant status.
- Parameters:
createdBy- The Amazon DataZone domain user who created the subscription grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
UpdateSubscriptionGrantStatusResponse.Builder domainId(String domainId)
The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.
- Parameters:
domainId- The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedEntity
UpdateSubscriptionGrantStatusResponse.Builder grantedEntity(GrantedEntity grantedEntity)
The granted entity to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Parameters:
grantedEntity- The granted entity to be updated as part of theUpdateSubscriptionGrantStatusaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedEntity
default UpdateSubscriptionGrantStatusResponse.Builder grantedEntity(Consumer<GrantedEntity.Builder> grantedEntity)
The granted entity to be updated as part of the
This is a convenience method that creates an instance of theUpdateSubscriptionGrantStatusaction.GrantedEntity.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
UpdateSubscriptionGrantStatusResponse.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
UpdateSubscriptionGrantStatusResponse.Builder status(String status)
The status to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Parameters:
status- The status to be updated as part of theUpdateSubscriptionGrantStatusaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionGrantOverallStatus,SubscriptionGrantOverallStatus
-
status
UpdateSubscriptionGrantStatusResponse.Builder status(SubscriptionGrantOverallStatus status)
The status to be updated as part of the
UpdateSubscriptionGrantStatusaction.- Parameters:
status- The status to be updated as part of theUpdateSubscriptionGrantStatusaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionGrantOverallStatus,SubscriptionGrantOverallStatus
-
subscriptionId
UpdateSubscriptionGrantStatusResponse.Builder subscriptionId(String subscriptionId)
The identifier of the subscription.
- Parameters:
subscriptionId- The identifier of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptionTargetId
UpdateSubscriptionGrantStatusResponse.Builder subscriptionTargetId(String subscriptionTargetId)
The identifier of the subscription target whose subscription grant status is to be updated.
- Parameters:
subscriptionTargetId- The identifier of the subscription target whose subscription grant status is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
UpdateSubscriptionGrantStatusResponse.Builder updatedAt(Instant updatedAt)
The timestamp of when the subscription grant status is to be updated.
- Parameters:
updatedAt- The timestamp of when the subscription grant status is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
UpdateSubscriptionGrantStatusResponse.Builder updatedBy(String updatedBy)
The Amazon DataZone user who updated the subscription grant status.
- Parameters:
updatedBy- The Amazon DataZone user who updated the subscription grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-