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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLinuxSubscriptionsResponse.BuildernextToken(String nextToken)The next token used for paginated responses.ListLinuxSubscriptionsResponse.Buildersubscriptions(Collection<Subscription> subscriptions)An array that contains subscription objects.ListLinuxSubscriptionsResponse.Buildersubscriptions(Consumer<Subscription.Builder>... subscriptions)An array that contains subscription objects.ListLinuxSubscriptionsResponse.Buildersubscriptions(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 Detail
-
nextToken
ListLinuxSubscriptionsResponse.Builder nextToken(String 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
ListLinuxSubscriptionsResponse.Builder subscriptions(Collection<Subscription> 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(Subscription... 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 to#subscriptions(List.) - 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:
#subscriptions(java.util.Collection)
-
-