Interface SearchResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchResourcesResponse.Builder,SearchResourcesResponse>,ResourceGroupsResponse.Builder,SdkBuilder<SearchResourcesResponse.Builder,SearchResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchResourcesResponse
public static interface SearchResourcesResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<SearchResourcesResponse.Builder,SearchResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResourcesResponse.BuildernextToken(String nextToken)If present, indicates that more output is available than is included in the current response.SearchResourcesResponse.BuilderqueryErrors(Collection<QueryError> queryErrors)A list ofQueryErrorobjects.SearchResourcesResponse.BuilderqueryErrors(Consumer<QueryError.Builder>... queryErrors)A list ofQueryErrorobjects.SearchResourcesResponse.BuilderqueryErrors(QueryError... queryErrors)A list ofQueryErrorobjects.SearchResourcesResponse.BuilderresourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)The ARNs and resource types of resources that are members of the group that you specified.SearchResourcesResponse.BuilderresourceIdentifiers(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers)The ARNs and resource types of resources that are members of the group that you specified.SearchResourcesResponse.BuilderresourceIdentifiers(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 Detail
-
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
SearchResourcesResponse.Builder resourceIdentifiers(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
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 to#resourceIdentifiers(List.) - 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:
#resourceIdentifiers(java.util.Collection)
-
nextToken
SearchResourcesResponse.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.- 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
SearchResourcesResponse.Builder queryErrors(Collection<QueryError> queryErrors)
A list of
QueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING
- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
queryErrors
SearchResourcesResponse.Builder queryErrors(QueryError... queryErrors)
A list of
QueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING
- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
queryErrors
SearchResourcesResponse.Builder queryErrors(Consumer<QueryError.Builder>... queryErrors)
A list of
QueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures.Possible values for
ErrorCode:-
CLOUDFORMATION_STACK_INACTIVE -
CLOUDFORMATION_STACK_NOT_EXISTING
QueryError.Builderavoiding the need to create one manually viaQueryError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#queryErrors(List.) - 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:
#queryErrors(java.util.Collection)
-
-
-