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

com.pulumi.aws.auditmanager.inputs.AssessmentRolesAllArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final AssessmentRolesAllArgs Empty = new AssessmentRolesAllArgs();

    /**
     * Amazon Resource Name (ARN) of the IAM role.
     * 
     */
    @Import(name="roleArn", required=true)
    private Output roleArn;

    /**
     * @return Amazon Resource Name (ARN) of the IAM role.
     * 
     */
    public Output roleArn() {
        return this.roleArn;
    }

    /**
     * Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
     * 
     */
    @Import(name="roleType", required=true)
    private Output roleType;

    /**
     * @return Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
     * 
     */
    public Output roleType() {
        return this.roleType;
    }

    private AssessmentRolesAllArgs() {}

    private AssessmentRolesAllArgs(AssessmentRolesAllArgs $) {
        this.roleArn = $.roleArn;
        this.roleType = $.roleType;
    }

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

    public static final class Builder {
        private AssessmentRolesAllArgs $;

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

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

        /**
         * @param roleArn Amazon Resource Name (ARN) of the IAM role.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn Amazon Resource Name (ARN) of the IAM role.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        /**
         * @param roleType Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
         * 
         * @return builder
         * 
         */
        public Builder roleType(Output roleType) {
            $.roleType = roleType;
            return this;
        }

        /**
         * @param roleType Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
         * 
         * @return builder
         * 
         */
        public Builder roleType(String roleType) {
            return roleType(Output.of(roleType));
        }

        public AssessmentRolesAllArgs build() {
            if ($.roleArn == null) {
                throw new MissingRequiredPropertyException("AssessmentRolesAllArgs", "roleArn");
            }
            if ($.roleType == null) {
                throw new MissingRequiredPropertyException("AssessmentRolesAllArgs", "roleType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy