Interface ScannedResourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScannedResourceDetails.Builder,,ScannedResourceDetails> SdkBuilder<ScannedResourceDetails.Builder,,ScannedResourceDetails> SdkPojo
- Enclosing class:
ScannedResourceDetails
@Mutable
@NotThreadSafe
public static interface ScannedResourceDetails.Builder
extends SdkPojo, CopyableBuilder<ScannedResourceDetails.Builder,ScannedResourceDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScannedResourceDetails.BuilderebsSnapshot(Consumer<EbsSnapshot.Builder> ebsSnapshot) Contains information about the EBS snapshot that was scanned.ebsSnapshot(EbsSnapshot ebsSnapshot) Contains information about the EBS snapshot that was scanned.default ScannedResourceDetails.BuilderebsVolume(Consumer<VolumeDetail.Builder> ebsVolume) Contains information about the EBS volume that was scanned.ebsVolume(VolumeDetail ebsVolume) Contains information about the EBS volume that was scanned.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, sdkFields
-
Method Details
-
ebsVolume
Contains information about the EBS volume that was scanned.
- Parameters:
ebsVolume- Contains information about the EBS volume that was scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsVolume
Contains information about the EBS volume that was scanned.
This is a convenience method that creates an instance of theVolumeDetail.Builderavoiding the need to create one manually viaVolumeDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebsVolume(VolumeDetail).- Parameters:
ebsVolume- a consumer that will call methods onVolumeDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsSnapshot
Contains information about the EBS snapshot that was scanned.
- Parameters:
ebsSnapshot- Contains information about the EBS snapshot that was scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsSnapshot
Contains information about the EBS snapshot that was scanned.
This is a convenience method that creates an instance of theEbsSnapshot.Builderavoiding the need to create one manually viaEbsSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toebsSnapshot(EbsSnapshot).- Parameters:
ebsSnapshot- a consumer that will call methods onEbsSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-