Interface MalwareProtectionDataSourceFreeTrial.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MalwareProtectionDataSourceFreeTrial.Builder,MalwareProtectionDataSourceFreeTrial>,SdkBuilder<MalwareProtectionDataSourceFreeTrial.Builder,MalwareProtectionDataSourceFreeTrial>,SdkPojo
- Enclosing class:
- MalwareProtectionDataSourceFreeTrial
public static interface MalwareProtectionDataSourceFreeTrial.Builder extends SdkPojo, CopyableBuilder<MalwareProtectionDataSourceFreeTrial.Builder,MalwareProtectionDataSourceFreeTrial>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MalwareProtectionDataSourceFreeTrial.BuilderscanEc2InstanceWithFindings(Consumer<DataSourceFreeTrial.Builder> scanEc2InstanceWithFindings)Describes whether Malware Protection for EC2 instances with findings is enabled as a data source.MalwareProtectionDataSourceFreeTrial.BuilderscanEc2InstanceWithFindings(DataSourceFreeTrial scanEc2InstanceWithFindings)Describes whether Malware Protection for EC2 instances with findings is enabled as a data source.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
scanEc2InstanceWithFindings
MalwareProtectionDataSourceFreeTrial.Builder scanEc2InstanceWithFindings(DataSourceFreeTrial scanEc2InstanceWithFindings)
Describes whether Malware Protection for EC2 instances with findings is enabled as a data source.
- Parameters:
scanEc2InstanceWithFindings- Describes whether Malware Protection for EC2 instances with findings is enabled as a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanEc2InstanceWithFindings
default MalwareProtectionDataSourceFreeTrial.Builder scanEc2InstanceWithFindings(Consumer<DataSourceFreeTrial.Builder> scanEc2InstanceWithFindings)
Describes whether Malware Protection for EC2 instances with findings is enabled as a data source.
This is a convenience method that creates an instance of theDataSourceFreeTrial.Builderavoiding the need to create one manually viaDataSourceFreeTrial.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanEc2InstanceWithFindings(DataSourceFreeTrial).- Parameters:
scanEc2InstanceWithFindings- a consumer that will call methods onDataSourceFreeTrial.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scanEc2InstanceWithFindings(DataSourceFreeTrial)
-
-