Interface GetSoftwareResourcesV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSoftwareResourcesV2Response.Builder,,GetSoftwareResourcesV2Response> SdkBuilder<GetSoftwareResourcesV2Response.Builder,,GetSoftwareResourcesV2Response> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetSoftwareResourcesV2Response
@Mutable
@NotThreadSafe
public static interface GetSoftwareResourcesV2Response.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetSoftwareResourcesV2Response.Builder,GetSoftwareResourcesV2Response>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to request the next page of results.softwareResources(Collection<SoftwareResourceResult> softwareResources) An array of resources that contain the specified software package.softwareResources(Consumer<SoftwareResourceResult.Builder>... softwareResources) An array of resources that contain the specified software package.softwareResources(SoftwareResourceResult... softwareResources) An array of resources that contain the specified software package.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
-
softwareResources
GetSoftwareResourcesV2Response.Builder softwareResources(Collection<SoftwareResourceResult> softwareResources) An array of resources that contain the specified software package.
- Parameters:
softwareResources- An array of resources that contain the specified software package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareResources
GetSoftwareResourcesV2Response.Builder softwareResources(SoftwareResourceResult... softwareResources) An array of resources that contain the specified software package.
- Parameters:
softwareResources- An array of resources that contain the specified software package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareResources
GetSoftwareResourcesV2Response.Builder softwareResources(Consumer<SoftwareResourceResult.Builder>... softwareResources) An array of resources that contain the specified software package.
This is a convenience method that creates an instance of theSoftwareResourceResult.Builderavoiding the need to create one manually viaSoftwareResourceResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosoftwareResources(List<SoftwareResourceResult>).- Parameters:
softwareResources- a consumer that will call methods onSoftwareResourceResult.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.
-