com.pulumi.aws.guardduty.inputs.DetectorDatasourcesMalwareProtectionArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.guardduty.inputs;
import com.pulumi.aws.guardduty.inputs.DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
public final class DetectorDatasourcesMalwareProtectionArgs extends com.pulumi.resources.ResourceArgs {
public static final DetectorDatasourcesMalwareProtectionArgs Empty = new DetectorDatasourcesMalwareProtectionArgs();
/**
* Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector.
* See Scan EC2 instance with findings below for more details.
*
*/
@Import(name="scanEc2InstanceWithFindings", required=true)
private Output scanEc2InstanceWithFindings;
/**
* @return Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector.
* See Scan EC2 instance with findings below for more details.
*
*/
public Output scanEc2InstanceWithFindings() {
return this.scanEc2InstanceWithFindings;
}
private DetectorDatasourcesMalwareProtectionArgs() {}
private DetectorDatasourcesMalwareProtectionArgs(DetectorDatasourcesMalwareProtectionArgs $) {
this.scanEc2InstanceWithFindings = $.scanEc2InstanceWithFindings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DetectorDatasourcesMalwareProtectionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DetectorDatasourcesMalwareProtectionArgs $;
public Builder() {
$ = new DetectorDatasourcesMalwareProtectionArgs();
}
public Builder(DetectorDatasourcesMalwareProtectionArgs defaults) {
$ = new DetectorDatasourcesMalwareProtectionArgs(Objects.requireNonNull(defaults));
}
/**
* @param scanEc2InstanceWithFindings Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector.
* See Scan EC2 instance with findings below for more details.
*
* @return builder
*
*/
public Builder scanEc2InstanceWithFindings(Output scanEc2InstanceWithFindings) {
$.scanEc2InstanceWithFindings = scanEc2InstanceWithFindings;
return this;
}
/**
* @param scanEc2InstanceWithFindings Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector.
* See Scan EC2 instance with findings below for more details.
*
* @return builder
*
*/
public Builder scanEc2InstanceWithFindings(DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs scanEc2InstanceWithFindings) {
return scanEc2InstanceWithFindings(Output.of(scanEc2InstanceWithFindings));
}
public DetectorDatasourcesMalwareProtectionArgs build() {
if ($.scanEc2InstanceWithFindings == null) {
throw new MissingRequiredPropertyException("DetectorDatasourcesMalwareProtectionArgs", "scanEc2InstanceWithFindings");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy