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

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

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


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

    public static final GetControlControlMappingSourceArgs Empty = new GetControlControlMappingSourceArgs();

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

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

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

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

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

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

    @Import(name="sourceKeyword")
    private @Nullable Output sourceKeyword;

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

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

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

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

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

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

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

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

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

    private GetControlControlMappingSourceArgs() {}

    private GetControlControlMappingSourceArgs(GetControlControlMappingSourceArgs $) {
        this.sourceDescription = $.sourceDescription;
        this.sourceFrequency = $.sourceFrequency;
        this.sourceId = $.sourceId;
        this.sourceKeyword = $.sourceKeyword;
        this.sourceName = $.sourceName;
        this.sourceSetUpOption = $.sourceSetUpOption;
        this.sourceType = $.sourceType;
        this.troubleshootingText = $.troubleshootingText;
    }

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

    public static final class Builder {
        private GetControlControlMappingSourceArgs $;

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

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

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

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

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

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

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

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

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

        public Builder sourceKeyword(GetControlControlMappingSourceSourceKeywordArgs sourceKeyword) {
            return sourceKeyword(Output.of(sourceKeyword));
        }

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

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

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

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

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

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

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

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

        public GetControlControlMappingSourceArgs build() {
            if ($.sourceDescription == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "sourceDescription");
            }
            if ($.sourceFrequency == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "sourceFrequency");
            }
            if ($.sourceId == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "sourceId");
            }
            if ($.sourceName == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "sourceName");
            }
            if ($.sourceSetUpOption == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "sourceSetUpOption");
            }
            if ($.sourceType == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "sourceType");
            }
            if ($.troubleshootingText == null) {
                throw new MissingRequiredPropertyException("GetControlControlMappingSourceArgs", "troubleshootingText");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy