Interface ListAssociatedResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAssociatedResourcesResponse.Builder,
,ListAssociatedResourcesResponse> SdkBuilder<ListAssociatedResourcesResponse.Builder,
,ListAssociatedResourcesResponse> SdkPojo
,SdkResponse.Builder
,ServiceCatalogAppRegistryResponse.Builder
- Enclosing class:
ListAssociatedResourcesResponse
public static interface ListAssociatedResourcesResponse.Builder
extends ServiceCatalogAppRegistryResponse.Builder, SdkPojo, CopyableBuilder<ListAssociatedResourcesResponse.Builder,ListAssociatedResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next page of results after a previous API call.resources
(Collection<ResourceInfo> resources) Information about the resources.resources
(Consumer<ResourceInfo.Builder>... resources) Information about the resources.resources
(ResourceInfo... resources) Information about the resources.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.servicecatalogappregistry.model.ServiceCatalogAppRegistryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
resources
Information about the resources.
- Parameters:
resources
- Information about the resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Information about the resources.
- Parameters:
resources
- Information about the resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Information about the resources.
This is a convenience method that creates an instance of theResourceInfo.Builder
avoiding the need to create one manually viaResourceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<ResourceInfo>)
.- Parameters:
resources
- a consumer that will call methods onResourceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next page of results after a previous API call.
- Parameters:
nextToken
- The token to use to get the next page of results after a previous API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-