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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLinuxSubscriptionInstancesResponse.Builderinstances(Collection<Instance> instances)An array that contains instance objects.ListLinuxSubscriptionInstancesResponse.Builderinstances(Consumer<Instance.Builder>... instances)An array that contains instance objects.ListLinuxSubscriptionInstancesResponse.Builderinstances(Instance... instances)An array that contains instance objects.ListLinuxSubscriptionInstancesResponse.BuildernextToken(String nextToken)Token for the next set of results.-
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
-
instances
ListLinuxSubscriptionInstancesResponse.Builder instances(Collection<Instance> 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
ListLinuxSubscriptionInstancesResponse.Builder instances(Instance... 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
ListLinuxSubscriptionInstancesResponse.Builder instances(Consumer<Instance.Builder>... 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 to#instances(List.) - 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:
#instances(java.util.Collection)
-
nextToken
ListLinuxSubscriptionInstancesResponse.Builder nextToken(String 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.
-
-