Interface GrantedEntityInput.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<GrantedEntityInput.Builder,,- GrantedEntityInput> - SdkBuilder<GrantedEntityInput.Builder,,- GrantedEntityInput> - SdkPojo
- Enclosing class:
- GrantedEntityInput
@Mutable
@NotThreadSafe
public static interface GrantedEntityInput.Builder
extends SdkPojo, CopyableBuilder<GrantedEntityInput.Builder,GrantedEntityInput> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault GrantedEntityInput.Builderlisting(Consumer<ListingRevisionInput.Builder> listing) The listing for which a subscription is to be granted.listing(ListingRevisionInput listing) The listing for which a subscription is to be granted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
listingThe listing for which a subscription is to be granted. - Parameters:
- listing- The listing for which a subscription is to be granted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
listingThe listing for which a subscription is to be granted. This is a convenience method that creates an instance of theListingRevisionInput.Builderavoiding the need to create one manually viaListingRevisionInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolisting(ListingRevisionInput).- Parameters:
- listing- a consumer that will call methods on- ListingRevisionInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-