Interface GetSubscriptionGrantResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetSubscriptionGrantResponse.Builder,,- GetSubscriptionGrantResponse> - DataZoneResponse.Builder,- SdkBuilder<GetSubscriptionGrantResponse.Builder,,- GetSubscriptionGrantResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetSubscriptionGrantResponse
- 
Method SummaryModifier and TypeMethodDescriptionassets(Collection<SubscribedAsset> assets) The assets for which the subscription grant is created.assets(Consumer<SubscribedAsset.Builder>... assets) The assets for which the subscription grant is created.assets(SubscribedAsset... assets) The assets for which the subscription grant is created.The timestamp of when the subscription grant is created.The Amazon DataZone user who created the subscription grant.The ID of the Amazon DataZone domain in which the subscription grant exists.grantedEntity(Consumer<GrantedEntity.Builder> grantedEntity) The entity to which the subscription is granted.grantedEntity(GrantedEntity grantedEntity) The entity to which the subscription is granted.The ID of the subscription grant.The status of the subscription grant.status(SubscriptionGrantOverallStatus status) The status of the subscription grant.subscriptionId(String subscriptionId) Deprecated.Multiple subscriptions can exist for a single grantsubscriptionTargetId(String subscriptionTargetId) The subscription target ID associated with the subscription grant.The timestamp of when the subscription grant was upated.The Amazon DataZone user who updated the subscription grant.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
assetsThe 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.
 
- 
assetsThe 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.
 
- 
assetsThe 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 toassets(List<SubscribedAsset>).- Parameters:
- assets- a consumer that will call methods on- SubscribedAsset.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdAtThe 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.
 
- 
createdByThe 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.
 
- 
domainIdThe 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.
 
- 
grantedEntityThe 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.
 
- 
grantedEntitydefault 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 on- GrantedEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
idThe 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.
 
- 
statusThe 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:
 
- 
statusThe 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:
 
- 
subscriptionIdDeprecated.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.
 
- 
subscriptionTargetIdThe 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.
 
- 
updatedAtThe 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.
 
- 
updatedByThe 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.
 
 
-