Interface SearchResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchResourcesResponse.Builder,
,SearchResourcesResponse> ResourceGroupsResponse.Builder
,SdkBuilder<SearchResourcesResponse.Builder,
,SearchResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf present, indicates that more output is available than is included in the current response.queryErrors
(Collection<QueryError> queryErrors) A list ofQueryError
objects.queryErrors
(Consumer<QueryError.Builder>... queryErrors) A list ofQueryError
objects.queryErrors
(QueryError... queryErrors) A list ofQueryError
objects.resourceIdentifiers
(Collection<ResourceIdentifier> resourceIdentifiers) The ARNs and resource types of resources that are members of the group that you specified.resourceIdentifiers
(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers) The ARNs and resource types of resources that are members of the group that you specified.resourceIdentifiers
(ResourceIdentifier... resourceIdentifiers) The ARNs and resource types of resources that are members of the group that you specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceIdentifiers
SearchResourcesResponse.Builder resourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers) The ARNs and resource types of resources that are members of the group that you specified.
- Parameters:
resourceIdentifiers
- The ARNs and resource types of resources that are members of the group that you specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifiers
The ARNs and resource types of resources that are members of the group that you specified.
- Parameters:
resourceIdentifiers
- The ARNs and resource types of resources that are members of the group that you specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifiers
SearchResourcesResponse.Builder resourceIdentifiers(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers) The ARNs and resource types of resources that are members of the group that you specified.
This is a convenience method that creates an instance of theResourceIdentifier.Builder
avoiding the need to create one manually viaResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceIdentifiers(List<ResourceIdentifier>)
.- Parameters:
resourceIdentifiers
- a consumer that will call methods onResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
.- Parameters:
nextToken
- If present, indicates that more output is available than is included in the current response. Use this value in theNextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryErrors
A list of
QueryError
objects. Each error contains anErrorCode
andMessage
.Possible values for
ErrorCode
:-
CLOUDFORMATION_STACK_INACTIVE
-
CLOUDFORMATION_STACK_NOT_EXISTING
-
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
- Parameters:
queryErrors
- A list ofQueryError
objects. Each error contains anErrorCode
andMessage
.Possible values for
ErrorCode
:-
CLOUDFORMATION_STACK_INACTIVE
-
CLOUDFORMATION_STACK_NOT_EXISTING
-
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
queryErrors
A list of
QueryError
objects. Each error contains anErrorCode
andMessage
.Possible values for
ErrorCode
:-
CLOUDFORMATION_STACK_INACTIVE
-
CLOUDFORMATION_STACK_NOT_EXISTING
-
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
- Parameters:
queryErrors
- A list ofQueryError
objects. Each error contains anErrorCode
andMessage
.Possible values for
ErrorCode
:-
CLOUDFORMATION_STACK_INACTIVE
-
CLOUDFORMATION_STACK_NOT_EXISTING
-
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
queryErrors
A list of
QueryError
objects. Each error contains anErrorCode
andMessage
.Possible values for
ErrorCode
:-
CLOUDFORMATION_STACK_INACTIVE
-
CLOUDFORMATION_STACK_NOT_EXISTING
-
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
QueryError.Builder
avoiding the need to create one manually viaQueryError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryErrors(List<QueryError>)
.- Parameters:
queryErrors
- a consumer that will call methods onQueryError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-