Interface GrantedEntityInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GrantedEntityInput.Builder,
,GrantedEntityInput> SdkBuilder<GrantedEntityInput.Builder,
,GrantedEntityInput> SdkPojo
- Enclosing class:
GrantedEntityInput
public static interface GrantedEntityInput.Builder
extends SdkPojo, CopyableBuilder<GrantedEntityInput.Builder,GrantedEntityInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GrantedEntityInput.Builder
listing
(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
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 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.Builder
avoiding the need to create one manually viaListingRevisionInput.builder()
.When the
Consumer
completes,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:
-