Interface ListLinuxSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLinuxSubscriptionsResponse.Builder,,ListLinuxSubscriptionsResponse> LicenseManagerLinuxSubscriptionsResponse.Builder,SdkBuilder<ListLinuxSubscriptionsResponse.Builder,,ListLinuxSubscriptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLinuxSubscriptionsResponse
@Mutable
@NotThreadSafe
public static interface ListLinuxSubscriptionsResponse.Builder
extends LicenseManagerLinuxSubscriptionsResponse.Builder, SdkPojo, CopyableBuilder<ListLinuxSubscriptionsResponse.Builder,ListLinuxSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next token used for paginated responses.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
copyMethods inherited from interface software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.LicenseManagerLinuxSubscriptionsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional 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
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.Builderavoiding the need to create one manually viaSubscription.builder().When the
Consumercompletes,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:
-