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

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

import com.pulumi.aws.auditmanager.outputs.FrameworkControlSetControl;
import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class FrameworkControlSet {
    /**
     * @return Configuration block(s) for the controls within the control set. See `controls` Block below for details.
     * 
     */
    private @Nullable List controls;
    /**
     * @return Unique identifier for the framework.
     * 
     */
    private @Nullable String id;
    /**
     * @return Name of the control set.
     * 
     */
    private String name;

    private FrameworkControlSet() {}
    /**
     * @return Configuration block(s) for the controls within the control set. See `controls` Block below for details.
     * 
     */
    public List controls() {
        return this.controls == null ? List.of() : this.controls;
    }
    /**
     * @return Unique identifier for the framework.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return Name of the control set.
     * 
     */
    public String name() {
        return this.name;
    }

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

    public static Builder builder(FrameworkControlSet defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List controls;
        private @Nullable String id;
        private String name;
        public Builder() {}
        public Builder(FrameworkControlSet defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.controls = defaults.controls;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
        }

        @CustomType.Setter
        public Builder controls(@Nullable List controls) {

            this.controls = controls;
            return this;
        }
        public Builder controls(FrameworkControlSetControl... controls) {
            return controls(List.of(controls));
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("FrameworkControlSet", "name");
            }
            this.name = name;
            return this;
        }
        public FrameworkControlSet build() {
            final var _resultValue = new FrameworkControlSet();
            _resultValue.controls = controls;
            _resultValue.id = id;
            _resultValue.name = name;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy