// *** 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.outputs;

import com.pulumi.aws.guardduty.outputs.DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;

@CustomType
public final class DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings {
    /**
     * @return Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
     * See EBS volumes below for more details.
     * 
     */
    private DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes ebsVolumes;

    private DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings() {}
    /**
     * @return Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
     * See EBS volumes below for more details.
     * 
     */
    public DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes ebsVolumes() {
        return this.ebsVolumes;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes ebsVolumes;
        public Builder() {}
        public Builder(DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ebsVolumes = defaults.ebsVolumes;
        }

        @CustomType.Setter
        public Builder ebsVolumes(DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes ebsVolumes) {
            this.ebsVolumes = Objects.requireNonNull(ebsVolumes);
            return this;
        }
        public DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings build() {
            final var o = new DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings();
            o.ebsVolumes = ebsVolumes;
            return o;
        }
    }
}
