Interface ListResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudControlResponse.Builder
,CopyableBuilder<ListResourcesResponse.Builder,
,ListResourcesResponse> SdkBuilder<ListResourcesResponse.Builder,
,ListResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the request doesn't return all of the remaining results,NextToken
is set to a token.resourceDescriptions
(Collection<ResourceDescription> resourceDescriptions) Information about the specified resources, including primary identifier and resource model.resourceDescriptions
(Consumer<ResourceDescription.Builder>... resourceDescriptions) Information about the specified resources, including primary identifier and resource model.resourceDescriptions
(ResourceDescription... resourceDescriptions) Information about the specified resources, including primary identifier and resource model.The name of the resource type.Methods inherited from interface software.amazon.awssdk.services.cloudcontrol.model.CloudControlResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
typeName
The name of the resource type.
- Parameters:
typeName
- The name of the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDescriptions
ListResourcesResponse.Builder resourceDescriptions(Collection<ResourceDescription> resourceDescriptions) Information about the specified resources, including primary identifier and resource model.
- Parameters:
resourceDescriptions
- Information about the specified resources, including primary identifier and resource model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDescriptions
Information about the specified resources, including primary identifier and resource model.
- Parameters:
resourceDescriptions
- Information about the specified resources, including primary identifier and resource model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDescriptions
ListResourcesResponse.Builder resourceDescriptions(Consumer<ResourceDescription.Builder>... resourceDescriptions) Information about the specified resources, including primary identifier and resource model.
This is a convenience method that creates an instance of theResourceDescription.Builder
avoiding the need to create one manually viaResourceDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceDescriptions(List<ResourceDescription>)
.- Parameters:
resourceDescriptions
- a consumer that will call methods onResourceDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the request doesn't return all of the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callListResources
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set to null.- Parameters:
nextToken
- If the request doesn't return all of the remaining results,NextToken
is set to a token. To retrieve the next set of results, callListResources
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-