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