Interface GetRemediationsV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRemediationsV2Response.Builder,,GetRemediationsV2Response> SdkBuilder<GetRemediationsV2Response.Builder,,GetRemediationsV2Response> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetRemediationsV2Response
@Mutable
@NotThreadSafe
public static interface GetRemediationsV2Response.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetRemediationsV2Response.Builder,GetRemediationsV2Response>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RemediationV2Item> items) An array of remediation targets returned by the operation.items(Consumer<RemediationV2Item.Builder>... items) An array of remediation targets returned by the operation.items(RemediationV2Item... items) An array of remediation targets returned by the operation.The pagination token to use to request the next page of results.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
-
items
An array of remediation targets returned by the operation.
- Parameters:
items- An array of remediation targets returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of remediation targets returned by the operation.
- Parameters:
items- An array of remediation targets returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of remediation targets returned by the operation.
This is a convenience method that creates an instance of theRemediationV2Item.Builderavoiding the need to create one manually viaRemediationV2Item.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RemediationV2Item>).- Parameters:
items- a consumer that will call methods onRemediationV2Item.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.
-