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 Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
listing
The 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.
-
listing
The 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 onListingRevisionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-