com.pulumi.aws.guardduty.inputs.MalwareProtectionPlanActionArgs 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.
// *** 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.MalwareProtectionPlanActionTaggingArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
public final class MalwareProtectionPlanActionArgs extends com.pulumi.resources.ResourceArgs {
public static final MalwareProtectionPlanActionArgs Empty = new MalwareProtectionPlanActionArgs();
/**
* Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
*
*/
@Import(name="taggings", required=true)
private Output> taggings;
/**
* @return Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
*
*/
public Output> taggings() {
return this.taggings;
}
private MalwareProtectionPlanActionArgs() {}
private MalwareProtectionPlanActionArgs(MalwareProtectionPlanActionArgs $) {
this.taggings = $.taggings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MalwareProtectionPlanActionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private MalwareProtectionPlanActionArgs $;
public Builder() {
$ = new MalwareProtectionPlanActionArgs();
}
public Builder(MalwareProtectionPlanActionArgs defaults) {
$ = new MalwareProtectionPlanActionArgs(Objects.requireNonNull(defaults));
}
/**
* @param taggings Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
*
* @return builder
*
*/
public Builder taggings(Output> taggings) {
$.taggings = taggings;
return this;
}
/**
* @param taggings Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
*
* @return builder
*
*/
public Builder taggings(List taggings) {
return taggings(Output.of(taggings));
}
/**
* @param taggings Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
*
* @return builder
*
*/
public Builder taggings(MalwareProtectionPlanActionTaggingArgs... taggings) {
return taggings(List.of(taggings));
}
public MalwareProtectionPlanActionArgs build() {
if ($.taggings == null) {
throw new MissingRequiredPropertyException("MalwareProtectionPlanActionArgs", "taggings");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy