Interface ListLinuxSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLinuxSubscriptionsResponse.Builder,
,ListLinuxSubscriptionsResponse> LicenseManagerLinuxSubscriptionsResponse.Builder
,SdkBuilder<ListLinuxSubscriptionsResponse.Builder,
,ListLinuxSubscriptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLinuxSubscriptionsResponse
public static interface ListLinuxSubscriptionsResponse.Builder
extends LicenseManagerLinuxSubscriptionsResponse.Builder, SdkPojo, CopyableBuilder<ListLinuxSubscriptionsResponse.Builder,ListLinuxSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken for the next set of results.subscriptions
(Collection<Subscription> subscriptions) An array that contains subscription objects.subscriptions
(Consumer<Subscription.Builder>... subscriptions) An array that contains subscription objects.subscriptions
(Subscription... subscriptions) An array that contains subscription objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.LicenseManagerLinuxSubscriptionsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
Token for the next set of results.
- Parameters:
nextToken
- Token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
An array that contains subscription objects.
- Parameters:
subscriptions
- An array that contains subscription objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
An array that contains subscription objects.
- Parameters:
subscriptions
- An array that contains subscription objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
ListLinuxSubscriptionsResponse.Builder subscriptions(Consumer<Subscription.Builder>... subscriptions) An array that contains subscription objects.
This is a convenience method that creates an instance of theSubscription.Builder
avoiding the need to create one manually viaSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscriptions(List<Subscription>)
.- Parameters:
subscriptions
- a consumer that will call methods onSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-