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
Modifier and TypeMethodDescriptionscanEc2InstanceWithFindings
(Consumer<DataSourceFreeTrial.Builder> scanEc2InstanceWithFindings) Describes whether Malware Protection for EC2 instances with findings is enabled as a data source.scanEc2InstanceWithFindings
(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 Details
-
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.Builder
avoiding the need to create one manually viaDataSourceFreeTrial.builder()
.When the
Consumer
completes,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:
-