Interface GetImageFindingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImageFindingsResponse.Builder,,GetImageFindingsResponse> Ec2Response.Builder,SdkBuilder<GetImageFindingsResponse.Builder,,GetImageFindingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetImageFindingsResponse
@Mutable
@NotThreadSafe
public static interface GetImageFindingsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetImageFindingsResponse.Builder,GetImageFindingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionimageFindings(Collection<ImageFinding> imageFindings) The Amazon Inspector findings for the AMI.imageFindings(Consumer<ImageFinding.Builder>... imageFindings) The Amazon Inspector findings for the AMI.imageFindings(ImageFinding... imageFindings) The Amazon Inspector findings for the AMI.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
imageFindings
The Amazon Inspector findings for the AMI.
- Parameters:
imageFindings- The Amazon Inspector findings for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageFindings
The Amazon Inspector findings for the AMI.
- Parameters:
imageFindings- The Amazon Inspector findings for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageFindings
The Amazon Inspector findings for the AMI.
This is a convenience method that creates an instance of theImageFinding.Builderavoiding the need to create one manually viaImageFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageFindings(List<ImageFinding>).- Parameters:
imageFindings- a consumer that will call methods onImageFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to include in another request to get the next page of items. This value is
nullwhen there are no more items to return.- Parameters:
nextToken- The token to include in another request to get the next page of items. This value isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-