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

com.pulumi.aws.auditmanager.FrameworkArgs 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;

import com.pulumi.aws.auditmanager.inputs.FrameworkControlSetArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final FrameworkArgs Empty = new FrameworkArgs();

    /**
     * Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
     * 
     */
    @Import(name="complianceType")
    private @Nullable Output complianceType;

    /**
     * @return Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
     * 
     */
    public Optional> complianceType() {
        return Optional.ofNullable(this.complianceType);
    }

    /**
     * Configuration block(s) for the control sets that are associated with the framework. See `control_sets` Block below for details.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="controlSets")
    private @Nullable Output> controlSets;

    /**
     * @return Configuration block(s) for the control sets that are associated with the framework. See `control_sets` Block below for details.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional>> controlSets() {
        return Optional.ofNullable(this.controlSets);
    }

    /**
     * Description of the framework.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the framework.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Name of the framework.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the framework.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A map of tags to assign to the framework. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the framework. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private FrameworkArgs() {}

    private FrameworkArgs(FrameworkArgs $) {
        this.complianceType = $.complianceType;
        this.controlSets = $.controlSets;
        this.description = $.description;
        this.name = $.name;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private FrameworkArgs $;

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

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

        /**
         * @param complianceType Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
         * 
         * @return builder
         * 
         */
        public Builder complianceType(@Nullable Output complianceType) {
            $.complianceType = complianceType;
            return this;
        }

        /**
         * @param complianceType Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
         * 
         * @return builder
         * 
         */
        public Builder complianceType(String complianceType) {
            return complianceType(Output.of(complianceType));
        }

        /**
         * @param controlSets Configuration block(s) for the control sets that are associated with the framework. See `control_sets` Block below for details.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder controlSets(@Nullable Output> controlSets) {
            $.controlSets = controlSets;
            return this;
        }

        /**
         * @param controlSets Configuration block(s) for the control sets that are associated with the framework. See `control_sets` Block below for details.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder controlSets(List controlSets) {
            return controlSets(Output.of(controlSets));
        }

        /**
         * @param controlSets Configuration block(s) for the control sets that are associated with the framework. See `control_sets` Block below for details.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder controlSets(FrameworkControlSetArgs... controlSets) {
            return controlSets(List.of(controlSets));
        }

        /**
         * @param description Description of the framework.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the framework.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name Name of the framework.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the framework.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param tags A map of tags to assign to the framework. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the framework. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public FrameworkArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy