Interface AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder,,AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails> SdkBuilder<AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder,,AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails> SdkPojo
- Enclosing class:
AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
public static interface AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder
extends SdkPojo, CopyableBuilder<AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder,AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails>
-
Method Summary
Modifier and TypeMethodDescriptionscanEc2InstanceWithFindings(Consumer<AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails.Builder> scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.scanEc2InstanceWithFindings(AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.serviceRole(String serviceRole) The GuardDuty Malware Protection service role.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, sdkFields
-
Method Details
-
scanEc2InstanceWithFindings
AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder scanEc2InstanceWithFindings(AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails 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 AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails.Builder scanEc2InstanceWithFindings(Consumer<AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails.Builder> scanEc2InstanceWithFindings) Describes the configuration of Malware Protection for EC2 instances with findings.
This is a convenience method that creates an instance of theAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails.Builderavoiding the need to create one manually viaAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanEc2InstanceWithFindings(AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails).- Parameters:
scanEc2InstanceWithFindings- a consumer that will call methods onAwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRole
The GuardDuty Malware Protection service role.
- Parameters:
serviceRole- The GuardDuty Malware Protection service role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-