Interface UpdateSubscriptionGrantStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSubscriptionGrantStatusResponse.Builder,
,UpdateSubscriptionGrantStatusResponse> DataZoneResponse.Builder
,SdkBuilder<UpdateSubscriptionGrantStatusResponse.Builder,
,UpdateSubscriptionGrantStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSubscriptionGrantStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<SubscribedAsset> assets) The details of the asset for which the subscription grant is created.assets
(Consumer<SubscribedAsset.Builder>... assets) The details of the asset for which the subscription grant is created.assets
(SubscribedAsset... assets) The details of the asset for which the subscription grant is created.The timestamp of when the subscription grant status was created.The Amazon DataZone domain user who created the subscription grant status.The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.grantedEntity
(Consumer<GrantedEntity.Builder> grantedEntity) The granted entity to be updated as part of theUpdateSubscriptionGrantStatus
action.grantedEntity
(GrantedEntity grantedEntity) The granted entity to be updated as part of theUpdateSubscriptionGrantStatus
action.The identifier of the subscription grant.The status to be updated as part of theUpdateSubscriptionGrantStatus
action.status
(SubscriptionGrantOverallStatus status) The status to be updated as part of theUpdateSubscriptionGrantStatus
action.subscriptionId
(String subscriptionId) Deprecated.Multiple subscriptions can exist for a single grantsubscriptionTargetId
(String subscriptionTargetId) The identifier of the subscription target whose subscription grant status is to be updated.The timestamp of when the subscription grant status is to be updated.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
The details of the asset 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 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 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
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
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
The granted entity to be updated as part of the
UpdateSubscriptionGrantStatus
action.- Parameters:
grantedEntity
- The granted entity to be updated as part of theUpdateSubscriptionGrantStatus
action.- 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 theUpdateSubscriptionGrantStatus
action.GrantedEntity.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 to be updated as part of the
UpdateSubscriptionGrantStatus
action.- Parameters:
status
- The status to be updated as part of theUpdateSubscriptionGrantStatus
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status to be updated as part of the
UpdateSubscriptionGrantStatus
action.- Parameters:
status
- The status to be updated as part of theUpdateSubscriptionGrantStatus
action.- 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 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
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
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
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.
-