Interface SubscribedListing.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubscribedListing.Builder,
,SubscribedListing> SdkBuilder<SubscribedListing.Builder,
,SubscribedListing> SdkPojo
- Enclosing class:
SubscribedListing
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the published asset for which the subscription grant is created.The identifier of the published asset for which the subscription grant is created.default SubscribedListing.Builder
The published asset for which the subscription grant is created.item
(SubscribedListingItem item) The published asset for which the subscription grant is created.The name of the published asset for which the subscription grant is created.ownerProjectId
(String ownerProjectId) The identifier of the project of the published asset for which the subscription grant is created.ownerProjectName
(String ownerProjectName) The name of the project that owns the published asset for which the subscription grant is created.The revision of 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
-
description
The description of the published asset for which the subscription grant is created.
- Parameters:
description
- The description 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.
-
id
The identifier of the published asset for which the subscription grant is created.
- Parameters:
id
- 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.
-
item
The published asset for which the subscription grant is created.
- Parameters:
item
- 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.
-
item
The published asset for which the subscription grant is created.
This is a convenience method that creates an instance of theSubscribedListingItem.Builder
avoiding the need to create one manually viaSubscribedListingItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitem(SubscribedListingItem)
.- Parameters:
item
- a consumer that will call methods onSubscribedListingItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the published asset for which the subscription grant is created.
- Parameters:
name
- The name 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.
-
ownerProjectId
The identifier of the project of the published asset for which the subscription grant is created.
- Parameters:
ownerProjectId
- The identifier of the project 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.
-
ownerProjectName
The name of the project that owns the published asset for which the subscription grant is created.
- Parameters:
ownerProjectName
- The name of the project that owns 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.
-
revision
The revision of the published asset for which the subscription grant is created.
- Parameters:
revision
- 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.
-