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,NextTokenis 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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
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.Builderavoiding the need to create one manually viaResourceDescription.builder().When the
Consumercompletes,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,
NextTokenis set to a token. To retrieve the next set of results, callListResourcesagain and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set to null.- Parameters:
nextToken- If the request doesn't return all of the remaining results,NextTokenis set to a token. To retrieve the next set of results, callListResourcesagain and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-