Interface ListResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudControlResponse.Builder,CopyableBuilder<ListResourcesResponse.Builder,ListResourcesResponse>,SdkBuilder<ListResourcesResponse.Builder,ListResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourcesResponse
public static interface ListResourcesResponse.Builder extends CloudControlResponse.Builder, SdkPojo, CopyableBuilder<ListResourcesResponse.Builder,ListResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourcesResponse.BuildernextToken(String nextToken)If the request doesn't return all of the remaining results,NextTokenis set to a token.ListResourcesResponse.BuilderresourceDescriptions(Collection<ResourceDescription> resourceDescriptions)Information about the specified resources, including primary identifier and resource model.ListResourcesResponse.BuilderresourceDescriptions(Consumer<ResourceDescription.Builder>... resourceDescriptions)Information about the specified resources, including primary identifier and resource model.ListResourcesResponse.BuilderresourceDescriptions(ResourceDescription... resourceDescriptions)Information about the specified resources, including primary identifier and resource model.ListResourcesResponse.BuildertypeName(String typeName)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 Detail
-
typeName
ListResourcesResponse.Builder typeName(String 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
ListResourcesResponse.Builder resourceDescriptions(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
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 to#resourceDescriptions(List.) - 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:
#resourceDescriptions(java.util.Collection)
-
nextToken
ListResourcesResponse.Builder nextToken(String 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.
-
-