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 ofQueryErrorobjects.queryErrors(Consumer<QueryError.Builder>... queryErrors) A list ofQueryErrorobjects.queryErrors(QueryError... queryErrors) A list ofQueryErrorobjects.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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaListGroupResourcesItem.builder().When the
Consumercompletes,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
Resourcesresponse field instead.- Parameters:
resourceIdentifiers-Deprecated - don't use this parameter. Use the
Resourcesresponse 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
Resourcesresponse field instead.- Parameters:
resourceIdentifiers-Deprecated - don't use this parameter. Use the
Resourcesresponse 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. This is a convenience method that creates an instance of theDeprecated - don't use this parameter. Use the
Resourcesresponse field instead.ResourceIdentifier.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 areCLOUDFORMATION_STACK_INACTIVE,CLOUDFORMATION_STACK_NOT_EXISTING,CLOUDFORMATION_STACK_UNASSUMABLE_ROLEandRESOURCE_TYPE_NOT_SUPPORTED.- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error contains anErrorCodeandMessage. Possible values for ErrorCode areCLOUDFORMATION_STACK_INACTIVE,CLOUDFORMATION_STACK_NOT_EXISTING,CLOUDFORMATION_STACK_UNASSUMABLE_ROLEandRESOURCE_TYPE_NOT_SUPPORTED.- 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 areCLOUDFORMATION_STACK_INACTIVE,CLOUDFORMATION_STACK_NOT_EXISTING,CLOUDFORMATION_STACK_UNASSUMABLE_ROLEandRESOURCE_TYPE_NOT_SUPPORTED.- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error contains anErrorCodeandMessage. Possible values for ErrorCode areCLOUDFORMATION_STACK_INACTIVE,CLOUDFORMATION_STACK_NOT_EXISTING,CLOUDFORMATION_STACK_UNASSUMABLE_ROLEandRESOURCE_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 theQueryErrorobjects. Each error contains anErrorCodeandMessage. Possible values for ErrorCode areCLOUDFORMATION_STACK_INACTIVE,CLOUDFORMATION_STACK_NOT_EXISTING,CLOUDFORMATION_STACK_UNASSUMABLE_ROLEandRESOURCE_TYPE_NOT_SUPPORTED.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:
-