Interface SubscribedAssetListing.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubscribedAssetListing.Builder,
,SubscribedAssetListing> SdkBuilder<SubscribedAssetListing.Builder,
,SubscribedAssetListing> SdkPojo
- Enclosing class:
SubscribedAssetListing
-
Method Summary
Modifier and TypeMethodDescriptiondefault SubscribedAssetListing.Builder
assetScope
(Consumer<AssetScope.Builder> assetScope) The asset scope of the subscribed asset listing.assetScope
(AssetScope assetScope) The asset scope of the subscribed asset listing.The identifier of the published asset for which the subscription grant is created.entityRevision
(String entityRevision) The revision of the published asset for which the subscription grant is created.entityType
(String entityType) The type of the published asset for which the subscription grant is created.The forms attached to the published asset for which the subscription grant is created.glossaryTerms
(Collection<DetailedGlossaryTerm> glossaryTerms) The glossary terms attached to the published asset for which the subscription grant is created.glossaryTerms
(Consumer<DetailedGlossaryTerm.Builder>... glossaryTerms) The glossary terms attached to the published asset for which the subscription grant is created.glossaryTerms
(DetailedGlossaryTerm... glossaryTerms) The glossary terms attached to the published asset for which the subscription grant is created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
assetScope
The asset scope of the subscribed asset listing.
- Parameters:
assetScope
- The asset scope of the subscribed asset listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetScope
The asset scope of the subscribed asset listing.
This is a convenience method that creates an instance of theAssetScope.Builder
avoiding the need to create one manually viaAssetScope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetScope(AssetScope)
.- Parameters:
assetScope
- a consumer that will call methods onAssetScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityId
The identifier of the published asset for which the subscription grant is created.
- Parameters:
entityId
- The identifier of the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityRevision
The revision of the published asset for which the subscription grant is created.
- Parameters:
entityRevision
- The revision of the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of the published asset for which the subscription grant is created.
- Parameters:
entityType
- The type of the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forms
The forms attached to the published asset for which the subscription grant is created.
- Parameters:
forms
- The forms attached to the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTerms
The glossary terms attached to the published asset for which the subscription grant is created.
- Parameters:
glossaryTerms
- The glossary terms attached to the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTerms
The glossary terms attached to the published asset for which the subscription grant is created.
- Parameters:
glossaryTerms
- The glossary terms attached to the published asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTerms
SubscribedAssetListing.Builder glossaryTerms(Consumer<DetailedGlossaryTerm.Builder>... glossaryTerms) The glossary terms attached to the published asset for which the subscription grant is created.
This is a convenience method that creates an instance of theDetailedGlossaryTerm.Builder
avoiding the need to create one manually viaDetailedGlossaryTerm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglossaryTerms(List<DetailedGlossaryTerm>)
.- Parameters:
glossaryTerms
- a consumer that will call methods onDetailedGlossaryTerm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-