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

com.pulumi.aws.auditmanager.inputs.ControlControlMappingSourceSourceKeywordArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ControlControlMappingSourceSourceKeywordArgs Empty = new ControlControlMappingSourceSourceKeywordArgs();

    /**
     * Input method for the keyword. Valid values are `INPUT_TEXT`, `SELECT_FROM_LIST`, or `UPLOAD_FILE`.
     * 
     */
    @Import(name="keywordInputType", required=true)
    private Output keywordInputType;

    /**
     * @return Input method for the keyword. Valid values are `INPUT_TEXT`, `SELECT_FROM_LIST`, or `UPLOAD_FILE`.
     * 
     */
    public Output keywordInputType() {
        return this.keywordInputType;
    }

    /**
     * The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
     * 
     */
    @Import(name="keywordValue", required=true)
    private Output keywordValue;

    /**
     * @return The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
     * 
     */
    public Output keywordValue() {
        return this.keywordValue;
    }

    private ControlControlMappingSourceSourceKeywordArgs() {}

    private ControlControlMappingSourceSourceKeywordArgs(ControlControlMappingSourceSourceKeywordArgs $) {
        this.keywordInputType = $.keywordInputType;
        this.keywordValue = $.keywordValue;
    }

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

    public static final class Builder {
        private ControlControlMappingSourceSourceKeywordArgs $;

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

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

        /**
         * @param keywordInputType Input method for the keyword. Valid values are `INPUT_TEXT`, `SELECT_FROM_LIST`, or `UPLOAD_FILE`.
         * 
         * @return builder
         * 
         */
        public Builder keywordInputType(Output keywordInputType) {
            $.keywordInputType = keywordInputType;
            return this;
        }

        /**
         * @param keywordInputType Input method for the keyword. Valid values are `INPUT_TEXT`, `SELECT_FROM_LIST`, or `UPLOAD_FILE`.
         * 
         * @return builder
         * 
         */
        public Builder keywordInputType(String keywordInputType) {
            return keywordInputType(Output.of(keywordInputType));
        }

        /**
         * @param keywordValue The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
         * 
         * @return builder
         * 
         */
        public Builder keywordValue(Output keywordValue) {
            $.keywordValue = keywordValue;
            return this;
        }

        /**
         * @param keywordValue The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
         * 
         * @return builder
         * 
         */
        public Builder keywordValue(String keywordValue) {
            return keywordValue(Output.of(keywordValue));
        }

        public ControlControlMappingSourceSourceKeywordArgs build() {
            if ($.keywordInputType == null) {
                throw new MissingRequiredPropertyException("ControlControlMappingSourceSourceKeywordArgs", "keywordInputType");
            }
            if ($.keywordValue == null) {
                throw new MissingRequiredPropertyException("ControlControlMappingSourceSourceKeywordArgs", "keywordValue");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy