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 ofQueryErrorobjects.queryErrors(Consumer<QueryError.Builder>... queryErrors) A list ofQueryErrorobjects.queryErrors(QueryError... queryErrors) A list ofQueryErrorobjects.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
copyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaResourceIdentifier.builder().When the
Consumercompletes,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
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.- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryErrors
A list of
QueryErrorobjects. Each error contains anErrorCodeandMessage.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING -
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error contains anErrorCodeandMessage.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
QueryErrorobjects. Each error contains anErrorCodeandMessage.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING -
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error contains anErrorCodeandMessage.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
QueryErrorobjects. Each error contains anErrorCodeandMessage.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING -
CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
QueryError.Builderavoiding the need to create one manually viaQueryError.builder().When the
Consumercompletes,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:
-
-