Interface ListResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourcesResponse.Builder,ListResourcesResponse>,ResourceExplorer2Response.Builder,SdkBuilder<ListResourcesResponse.Builder,ListResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResourcesResponse
public static interface ListResourcesResponse.Builder extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<ListResourcesResponse.Builder,ListResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourcesResponse.BuildernextToken(String nextToken)If present, indicates that more output is available than is included in the current response.ListResourcesResponse.Builderresources(Collection<Resource> resources)The list of structures that describe the resources that match the query.ListResourcesResponse.Builderresources(Consumer<Resource.Builder>... resources)The list of structures that describe the resources that match the query.ListResourcesResponse.Builderresources(Resource... resources)The list of structures that describe the resources that match the query.ListResourcesResponse.BuilderviewArn(String viewArn)The Amazon resource name (ARN) of the view that this operation used to perform the search.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListResourcesResponse.Builder nextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. The pagination tokens expire after 24 hours.- Parameters:
nextToken- If present, indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. The pagination tokens expire after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListResourcesResponse.Builder resources(Collection<Resource> resources)
The list of structures that describe the resources that match the query.
- Parameters:
resources- The list of structures that describe the resources that match the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListResourcesResponse.Builder resources(Resource... resources)
The list of structures that describe the resources that match the query.
- Parameters:
resources- The list of structures that describe the resources that match the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListResourcesResponse.Builder resources(Consumer<Resource.Builder>... resources)
The list of structures that describe the resources that match the query.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - Parameters:
resources- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resources(java.util.Collection)
-
viewArn
ListResourcesResponse.Builder viewArn(String viewArn)
The Amazon resource name (ARN) of the view that this operation used to perform the search.
- Parameters:
viewArn- The Amazon resource name (ARN) of the view that this operation used to perform the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-