Interface MalwareProtectionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MalwareProtectionConfiguration.Builder,,MalwareProtectionConfiguration> SdkBuilder<MalwareProtectionConfiguration.Builder,,MalwareProtectionConfiguration> SdkPojo
- Enclosing class:
MalwareProtectionConfiguration
@Mutable
@NotThreadSafe
public static interface MalwareProtectionConfiguration.Builder
extends SdkPojo, CopyableBuilder<MalwareProtectionConfiguration.Builder,MalwareProtectionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionscanEc2InstanceWithFindings(Consumer<ScanEc2InstanceWithFindings.Builder> scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.scanEc2InstanceWithFindings(ScanEc2InstanceWithFindings scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.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
-
scanEc2InstanceWithFindings
MalwareProtectionConfiguration.Builder scanEc2InstanceWithFindings(ScanEc2InstanceWithFindings scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.
- Parameters:
scanEc2InstanceWithFindings- Describes the configuration of Malware Protection for EC2 instances with findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanEc2InstanceWithFindings
default MalwareProtectionConfiguration.Builder scanEc2InstanceWithFindings(Consumer<ScanEc2InstanceWithFindings.Builder> scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.
This is a convenience method that creates an instance of theScanEc2InstanceWithFindings.Builderavoiding the need to create one manually viaScanEc2InstanceWithFindings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanEc2InstanceWithFindings(ScanEc2InstanceWithFindings).- Parameters:
scanEc2InstanceWithFindings- a consumer that will call methods onScanEc2InstanceWithFindings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-