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