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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrantedEntityInput.Builderlisting(Consumer<ListingRevisionInput.Builder> listing)The listing for which a subscription is to be granted.GrantedEntityInput.Builderlisting(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 Detail
-
listing
GrantedEntityInput.Builder listing(ListingRevisionInput 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
default GrantedEntityInput.Builder listing(Consumer<ListingRevisionInput.Builder> 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:
listing(ListingRevisionInput)
-
-