Interface SubscribedListing.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubscribedListing.Builder,SubscribedListing>,SdkBuilder<SubscribedListing.Builder,SubscribedListing>,SdkPojo
- Enclosing class:
- SubscribedListing
public static interface SubscribedListing.Builder extends SdkPojo, CopyableBuilder<SubscribedListing.Builder,SubscribedListing>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SubscribedListing.Builderdescription(String description)The description of the published asset for which the subscription grant is created.SubscribedListing.Builderid(String id)The identifier of the published asset for which the subscription grant is created.default SubscribedListing.Builderitem(Consumer<SubscribedListingItem.Builder> item)The published asset for which the subscription grant is created.SubscribedListing.Builderitem(SubscribedListingItem item)The published asset for which the subscription grant is created.SubscribedListing.Buildername(String name)The name of the published asset for which the subscription grant is created.SubscribedListing.BuilderownerProjectId(String ownerProjectId)The identifier of the project of the published asset for which the subscription grant is created.SubscribedListing.BuilderownerProjectName(String ownerProjectName)The name of the project that owns the published asset for which the subscription grant is created.SubscribedListing.Builderrevision(String revision)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, sdkFields
-
-
-
-
Method Detail
-
description
SubscribedListing.Builder description(String 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
SubscribedListing.Builder id(String 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
SubscribedListing.Builder item(SubscribedListingItem 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
default SubscribedListing.Builder item(Consumer<SubscribedListingItem.Builder> item)
The published asset for which the subscription grant is created.
This is a convenience method that creates an instance of theSubscribedListingItem.Builderavoiding the need to create one manually viaSubscribedListingItem.builder().When the
Consumercompletes,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:
item(SubscribedListingItem)
-
name
SubscribedListing.Builder name(String 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
SubscribedListing.Builder ownerProjectId(String 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
SubscribedListing.Builder ownerProjectName(String 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
SubscribedListing.Builder revision(String 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.
-
-