All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.securityhub.inputs.AutomationRuleActionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show 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.securityhub.inputs;

import com.pulumi.aws.securityhub.inputs.AutomationRuleActionFindingFieldsUpdateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AutomationRuleActionArgs extends com.pulumi.resources.ResourceArgs {

    public static final AutomationRuleActionArgs Empty = new AutomationRuleActionArgs();

    /**
     * A block that specifies that the automation rule action is an update to a finding field.  Documented below.
     * 
     */
    @Import(name="findingFieldsUpdate")
    private @Nullable Output findingFieldsUpdate;

    /**
     * @return A block that specifies that the automation rule action is an update to a finding field.  Documented below.
     * 
     */
    public Optional> findingFieldsUpdate() {
        return Optional.ofNullable(this.findingFieldsUpdate);
    }

    /**
     * Specifies that the rule action should update the `Types` finding field. The `Types` finding field classifies findings in the format of namespace/category/classifier.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Specifies that the rule action should update the `Types` finding field. The `Types` finding field classifies findings in the format of namespace/category/classifier.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private AutomationRuleActionArgs() {}

    private AutomationRuleActionArgs(AutomationRuleActionArgs $) {
        this.findingFieldsUpdate = $.findingFieldsUpdate;
        this.type = $.type;
    }

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

    public static final class Builder {
        private AutomationRuleActionArgs $;

        public Builder() {
            $ = new AutomationRuleActionArgs();
        }

        public Builder(AutomationRuleActionArgs defaults) {
            $ = new AutomationRuleActionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param findingFieldsUpdate A block that specifies that the automation rule action is an update to a finding field.  Documented below.
         * 
         * @return builder
         * 
         */
        public Builder findingFieldsUpdate(@Nullable Output findingFieldsUpdate) {
            $.findingFieldsUpdate = findingFieldsUpdate;
            return this;
        }

        /**
         * @param findingFieldsUpdate A block that specifies that the automation rule action is an update to a finding field.  Documented below.
         * 
         * @return builder
         * 
         */
        public Builder findingFieldsUpdate(AutomationRuleActionFindingFieldsUpdateArgs findingFieldsUpdate) {
            return findingFieldsUpdate(Output.of(findingFieldsUpdate));
        }

        /**
         * @param type Specifies that the rule action should update the `Types` finding field. The `Types` finding field classifies findings in the format of namespace/category/classifier.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Specifies that the rule action should update the `Types` finding field. The `Types` finding field classifies findings in the format of namespace/category/classifier.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public AutomationRuleActionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy