Interface GrantedEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GrantedEntity.Builder,,GrantedEntity> SdkBuilder<GrantedEntity.Builder,,GrantedEntity> SdkPojo
- Enclosing class:
GrantedEntity
public static interface GrantedEntity.Builder
extends SdkPojo, CopyableBuilder<GrantedEntity.Builder,GrantedEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GrantedEntity.Builderlisting(Consumer<ListingRevision.Builder> listing) The listing for which a subscription is granted.listing(ListingRevision listing) The listing for which a subscription is granted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
listing
The listing for which a subscription is granted.
- Parameters:
listing- The listing for which a subscription is granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listing
The listing for which a subscription is granted.
This is a convenience method that creates an instance of theListingRevision.Builderavoiding the need to create one manually viaListingRevision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolisting(ListingRevision).- Parameters:
listing- a consumer that will call methods onListingRevision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-