Interface ListGroupResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGroupResourcesResponse.Builder,
,ListGroupResourcesResponse> ResourceGroupsResponse.Builder
,SdkBuilder<ListGroupResourcesResponse.Builder,
,ListGroupResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGroupResourcesResponse
-
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) Deprecated.This field is deprecated, use Resources instead.resourceIdentifiers
(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers) Deprecated.This field is deprecated, use Resources instead.resourceIdentifiers
(ResourceIdentifier... resourceIdentifiers) Deprecated.This field is deprecated, use Resources instead.resources
(Collection<ListGroupResourcesItem> resources) An array of resources from which you can determine each resource's identity, type, and group membership status.resources
(Consumer<ListGroupResourcesItem.Builder>... resources) An array of resources from which you can determine each resource's identity, type, and group membership status.resources
(ListGroupResourcesItem... resources) An array of resources from which you can determine each resource's identity, type, and group membership status.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
-
resources
An array of resources from which you can determine each resource's identity, type, and group membership status.
- Parameters:
resources
- An array of resources from which you can determine each resource's identity, type, and group membership status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
An array of resources from which you can determine each resource's identity, type, and group membership status.
- Parameters:
resources
- An array of resources from which you can determine each resource's identity, type, and group membership status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
An array of resources from which you can determine each resource's identity, type, and group membership status.
This is a convenience method that creates an instance of theListGroupResourcesItem.Builder
avoiding the need to create one manually viaListGroupResourcesItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<ListGroupResourcesItem>)
.- Parameters:
resources
- a consumer that will call methods onListGroupResourcesItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceIdentifiers
@Deprecated ListGroupResourcesResponse.Builder resourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers) Deprecated.This field is deprecated, use Resources instead.Deprecated - don't use this parameter. Use the
Resources
response field instead.- Parameters:
resourceIdentifiers
-Deprecated - don't use this parameter. Use the
Resources
response field instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifiers
@Deprecated ListGroupResourcesResponse.Builder resourceIdentifiers(ResourceIdentifier... resourceIdentifiers) Deprecated.This field is deprecated, use Resources instead.Deprecated - don't use this parameter. Use the
Resources
response field instead.- Parameters:
resourceIdentifiers
-Deprecated - don't use this parameter. Use the
Resources
response field instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifiers
@Deprecated ListGroupResourcesResponse.Builder resourceIdentifiers(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers) Deprecated.This field is deprecated, use Resources instead.Deprecated - don't use this parameter. Use the
Resources
response field instead.ResourceIdentifier.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 areCLOUDFORMATION_STACK_INACTIVE
,CLOUDFORMATION_STACK_NOT_EXISTING
,CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
andRESOURCE_TYPE_NOT_SUPPORTED
.- Parameters:
queryErrors
- A list ofQueryError
objects. Each error contains anErrorCode
andMessage
. Possible values for ErrorCode areCLOUDFORMATION_STACK_INACTIVE
,CLOUDFORMATION_STACK_NOT_EXISTING
,CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
andRESOURCE_TYPE_NOT_SUPPORTED
.- 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 areCLOUDFORMATION_STACK_INACTIVE
,CLOUDFORMATION_STACK_NOT_EXISTING
,CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
andRESOURCE_TYPE_NOT_SUPPORTED
.- Parameters:
queryErrors
- A list ofQueryError
objects. Each error contains anErrorCode
andMessage
. Possible values for ErrorCode areCLOUDFORMATION_STACK_INACTIVE
,CLOUDFORMATION_STACK_NOT_EXISTING
,CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
andRESOURCE_TYPE_NOT_SUPPORTED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryErrors
A list of
This is a convenience method that creates an instance of theQueryError
objects. Each error contains anErrorCode
andMessage
. Possible values for ErrorCode areCLOUDFORMATION_STACK_INACTIVE
,CLOUDFORMATION_STACK_NOT_EXISTING
,CLOUDFORMATION_STACK_UNASSUMABLE_ROLE
andRESOURCE_TYPE_NOT_SUPPORTED
.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:
-