Interface OrganizationMalwareProtectionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrganizationMalwareProtectionConfiguration.Builder,
,OrganizationMalwareProtectionConfiguration> SdkBuilder<OrganizationMalwareProtectionConfiguration.Builder,
,OrganizationMalwareProtectionConfiguration> SdkPojo
- Enclosing class:
OrganizationMalwareProtectionConfiguration
public static interface OrganizationMalwareProtectionConfiguration.Builder
extends SdkPojo, CopyableBuilder<OrganizationMalwareProtectionConfiguration.Builder,OrganizationMalwareProtectionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionscanEc2InstanceWithFindings
(Consumer<OrganizationScanEc2InstanceWithFindings.Builder> scanEc2InstanceWithFindings) Whether Malware Protection for EC2 instances with findings should be auto-enabled for new members joining the organization.scanEc2InstanceWithFindings
(OrganizationScanEc2InstanceWithFindings scanEc2InstanceWithFindings) Whether Malware Protection for EC2 instances with findings should be auto-enabled for new members joining the organization.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
OrganizationMalwareProtectionConfiguration.Builder scanEc2InstanceWithFindings(OrganizationScanEc2InstanceWithFindings scanEc2InstanceWithFindings) Whether Malware Protection for EC2 instances with findings should be auto-enabled for new members joining the organization.
- Parameters:
scanEc2InstanceWithFindings
- Whether Malware Protection for EC2 instances with findings should be auto-enabled for new members joining the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanEc2InstanceWithFindings
default OrganizationMalwareProtectionConfiguration.Builder scanEc2InstanceWithFindings(Consumer<OrganizationScanEc2InstanceWithFindings.Builder> scanEc2InstanceWithFindings) Whether Malware Protection for EC2 instances with findings should be auto-enabled for new members joining the organization.
This is a convenience method that creates an instance of theOrganizationScanEc2InstanceWithFindings.Builder
avoiding the need to create one manually viaOrganizationScanEc2InstanceWithFindings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscanEc2InstanceWithFindings(OrganizationScanEc2InstanceWithFindings)
.- Parameters:
scanEc2InstanceWithFindings
- a consumer that will call methods onOrganizationScanEc2InstanceWithFindings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-