Interface ListLinuxSubscriptionInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLinuxSubscriptionInstancesResponse.Builder,,ListLinuxSubscriptionInstancesResponse> LicenseManagerLinuxSubscriptionsResponse.Builder,SdkBuilder<ListLinuxSubscriptionInstancesResponse.Builder,,ListLinuxSubscriptionInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLinuxSubscriptionInstancesResponse
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.Token for the next set of results.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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInstance.builder().When the
Consumercompletes,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
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.
-