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