Interface ListLinuxSubscriptionInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLinuxSubscriptionInstancesResponse.Builder,
,ListLinuxSubscriptionInstancesResponse> LicenseManagerLinuxSubscriptionsResponse.Builder
,SdkBuilder<ListLinuxSubscriptionInstancesResponse.Builder,
,ListLinuxSubscriptionInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLinuxSubscriptionInstancesResponse
@Mutable
@NotThreadSafe
public static interface ListLinuxSubscriptionInstancesResponse.Builder
extends LicenseManagerLinuxSubscriptionsResponse.Builder, SdkPojo, CopyableBuilder<ListLinuxSubscriptionInstancesResponse.Builder,ListLinuxSubscriptionInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstances
(Collection<Instance> instances) An array that contains instance objects.instances
(Consumer<Instance.Builder>... instances) An array that contains instance objects.An array that contains instance objects.The next token used for paginated responses.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instances
An array that contains instance objects.
- Parameters:
instances
- An array that contains instance objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
An array that contains instance objects.
- Parameters:
instances
- An array that contains instance objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
An array that contains instance objects.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<Instance>)
.- Parameters:
instances
- a consumer that will call methods onInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-