public static interface GrantedEntity.Builder extends SdkPojo, CopyableBuilder<GrantedEntity.Builder,GrantedEntity>
| Modifier and Type | Method and Description |
|---|---|
default GrantedEntity.Builder |
listing(Consumer<ListingRevision.Builder> listing)
The listing for which a subscription is granted.
|
GrantedEntity.Builder |
listing(ListingRevision listing)
The listing for which a subscription is granted.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrantedEntity.Builder listing(ListingRevision listing)
The listing for which a subscription is granted.
listing - The listing for which a subscription is granted.default GrantedEntity.Builder listing(Consumer<ListingRevision.Builder> listing)
The listing for which a subscription is granted.
This is a convenience method that creates an instance of theListingRevision.Builder avoiding the
need to create one manually via ListingRevision.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to listing(ListingRevision).
listing - a consumer that will call methods on ListingRevision.Builderlisting(ListingRevision)Copyright © 2023. All rights reserved.