Interface ListStackInstancesForProvisionedProductResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStackInstancesForProvisionedProductResponse.Builder,
,ListStackInstancesForProvisionedProductResponse> SdkBuilder<ListStackInstancesForProvisionedProductResponse.Builder,
,ListStackInstancesForProvisionedProductResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogResponse.Builder
- Enclosing class:
ListStackInstancesForProvisionedProductResponse
public static interface ListStackInstancesForProvisionedProductResponse.Builder
extends ServiceCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListStackInstancesForProvisionedProductResponse.Builder,ListStackInstancesForProvisionedProductResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextPageToken
(String nextPageToken) The page token to use to retrieve the next set of results.stackInstances
(Collection<StackInstance> stackInstances) List of stack instances.stackInstances
(Consumer<StackInstance.Builder>... stackInstances) List of stack instances.stackInstances
(StackInstance... stackInstances) List of stack instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.servicecatalog.model.ServiceCatalogResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
stackInstances
ListStackInstancesForProvisionedProductResponse.Builder stackInstances(Collection<StackInstance> stackInstances) List of stack instances.
- Parameters:
stackInstances
- List of stack instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackInstances
ListStackInstancesForProvisionedProductResponse.Builder stackInstances(StackInstance... stackInstances) List of stack instances.
- Parameters:
stackInstances
- List of stack instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackInstances
ListStackInstancesForProvisionedProductResponse.Builder stackInstances(Consumer<StackInstance.Builder>... stackInstances) List of stack instances.
This is a convenience method that creates an instance of theStackInstance.Builder
avoiding the need to create one manually viaStackInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostackInstances(List<StackInstance>)
.- Parameters:
stackInstances
- a consumer that will call methods onStackInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
- Parameters:
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-