Interface ListGroupResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupResourcesResponse.Builder,ListGroupResourcesResponse>,ResourceGroupsResponse.Builder,SdkBuilder<ListGroupResourcesResponse.Builder,ListGroupResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGroupResourcesResponse
public static interface ListGroupResourcesResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<ListGroupResourcesResponse.Builder,ListGroupResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ListGroupResourcesResponse.BuildernextToken(String nextToken)If present, indicates that more output is available than is included in the current response.ListGroupResourcesResponse.BuilderqueryErrors(Collection<QueryError> queryErrors)A list ofQueryErrorobjects.ListGroupResourcesResponse.BuilderqueryErrors(Consumer<QueryError.Builder>... queryErrors)A list ofQueryErrorobjects.ListGroupResourcesResponse.BuilderqueryErrors(QueryError... queryErrors)A list ofQueryErrorobjects.ListGroupResourcesResponse.BuilderresourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)Deprecated.This field is deprecated, use Resources instead.ListGroupResourcesResponse.BuilderresourceIdentifiers(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers)Deprecated.This field is deprecated, use Resources instead.ListGroupResourcesResponse.BuilderresourceIdentifiers(ResourceIdentifier... resourceIdentifiers)Deprecated.This field is deprecated, use Resources instead.ListGroupResourcesResponse.Builderresources(Collection<ListGroupResourcesItem> resources)An array of resources from which you can determine each resource's identity, type, and group membership status.ListGroupResourcesResponse.Builderresources(Consumer<ListGroupResourcesItem.Builder>... resources)An array of resources from which you can determine each resource's identity, type, and group membership status.ListGroupResourcesResponse.Builderresources(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 Detail
-
resources
ListGroupResourcesResponse.Builder resources(Collection<ListGroupResourcesItem> 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
ListGroupResourcesResponse.Builder resources(ListGroupResourcesItem... 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
ListGroupResourcesResponse.Builder resources(Consumer<ListGroupResourcesItem.Builder>... 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 to#resources(List.) - 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:
#resources(java.util.Collection)
-
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 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
ListGroupResourcesResponse.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
ListGroupResourcesResponse.Builder queryErrors(Collection<QueryError> queryErrors)
A list of
QueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures. Possible values forErrorCodeareCLOUDFORMATION_STACK_INACTIVEandCLOUDFORMATION_STACK_NOT_EXISTING.- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures. Possible values forErrorCodeareCLOUDFORMATION_STACK_INACTIVEandCLOUDFORMATION_STACK_NOT_EXISTING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryErrors
ListGroupResourcesResponse.Builder queryErrors(QueryError... queryErrors)
A list of
QueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures. Possible values forErrorCodeareCLOUDFORMATION_STACK_INACTIVEandCLOUDFORMATION_STACK_NOT_EXISTING.- Parameters:
queryErrors- A list ofQueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures. Possible values forErrorCodeareCLOUDFORMATION_STACK_INACTIVEandCLOUDFORMATION_STACK_NOT_EXISTING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryErrors
ListGroupResourcesResponse.Builder queryErrors(Consumer<QueryError.Builder>... queryErrors)
A list of
This is a convenience method that creates an instance of theQueryErrorobjects. Each error is an object that containsErrorCodeandMessagestructures. Possible values forErrorCodeareCLOUDFORMATION_STACK_INACTIVEandCLOUDFORMATION_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)
-
-