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