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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaResourceResult.builder().When the
Consumercompletes,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.
-