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

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

Go to download

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

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

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


public final class GetFrameworkArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetFrameworkArgs Empty = new GetFrameworkArgs();

    @Import(name="controlSets")
    private @Nullable Output> controlSets;

    public Optional>> controlSets() {
        return Optional.ofNullable(this.controlSets);
    }

    @Import(name="frameworkType", required=true)
    private Output frameworkType;

    public Output frameworkType() {
        return this.frameworkType;
    }

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

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

    private GetFrameworkArgs() {}

    private GetFrameworkArgs(GetFrameworkArgs $) {
        this.controlSets = $.controlSets;
        this.frameworkType = $.frameworkType;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetFrameworkArgs $;

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

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

        public Builder controlSets(@Nullable Output> controlSets) {
            $.controlSets = controlSets;
            return this;
        }

        public Builder controlSets(List controlSets) {
            return controlSets(Output.of(controlSets));
        }

        public Builder controlSets(GetFrameworkControlSetArgs... controlSets) {
            return controlSets(List.of(controlSets));
        }

        public Builder frameworkType(Output frameworkType) {
            $.frameworkType = frameworkType;
            return this;
        }

        public Builder frameworkType(String frameworkType) {
            return frameworkType(Output.of(frameworkType));
        }

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

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

        public GetFrameworkArgs build() {
            if ($.frameworkType == null) {
                throw new MissingRequiredPropertyException("GetFrameworkArgs", "frameworkType");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetFrameworkArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy