Interface GetResourcesV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourcesV2Response.Builder,
,GetResourcesV2Response> SdkBuilder<GetResourcesV2Response.Builder,
,GetResourcesV2Response> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
GetResourcesV2Response
@Mutable
@NotThreadSafe
public static interface GetResourcesV2Response.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetResourcesV2Response.Builder,GetResourcesV2Response>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to request the next page of results.resources
(Collection<ResourceResult> resources) Filters resources based on a set of criteria.resources
(Consumer<ResourceResult.Builder>... resources) Filters resources based on a set of criteria.resources
(ResourceResult... resources) Filters resources based on a set of criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
resources
Filters resources based on a set of criteria.
- Parameters:
resources
- Filters resources based on a set of criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Filters resources based on a set of criteria.
- Parameters:
resources
- Filters resources based on a set of criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Filters resources based on a set of criteria.
This is a convenience method that creates an instance of theResourceResult.Builder
avoiding the need to create one manually viaResourceResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<ResourceResult>)
.- Parameters:
resources
- a consumer that will call methods onResourceResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to request the next page of results. Otherwise, this parameter is null.
- Parameters:
nextToken
- The pagination token to use to request the next page of results. Otherwise, this parameter is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-