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

com.pulumi.azurenative.logic.inputs.RosettaNetPipRoleSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.logic.inputs;

import com.pulumi.azurenative.logic.enums.RosettaNetPipRoleType;
import com.pulumi.azurenative.logic.inputs.RosettaNetPipBusinessDocumentArgs;
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;


/**
 * The integration account RosettaNet ProcessConfiguration role settings.
 * 
 */
public final class RosettaNetPipRoleSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final RosettaNetPipRoleSettingsArgs Empty = new RosettaNetPipRoleSettingsArgs();

    /**
     * The action name.
     * 
     */
    @Import(name="action", required=true)
    private Output action;

    /**
     * @return The action name.
     * 
     */
    public Output action() {
        return this.action;
    }

    /**
     * The RosettaNet ProcessConfiguration business document.
     * 
     */
    @Import(name="businessDocument", required=true)
    private Output businessDocument;

    /**
     * @return The RosettaNet ProcessConfiguration business document.
     * 
     */
    public Output businessDocument() {
        return this.businessDocument;
    }

    /**
     * The description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The role name.
     * 
     */
    @Import(name="role", required=true)
    private Output role;

    /**
     * @return The role name.
     * 
     */
    public Output role() {
        return this.role;
    }

    /**
     * The RosettaNet ProcessConfiguration role type.
     * 
     */
    @Import(name="roleType", required=true)
    private Output roleType;

    /**
     * @return The RosettaNet ProcessConfiguration role type.
     * 
     */
    public Output roleType() {
        return this.roleType;
    }

    /**
     * The service name.
     * 
     */
    @Import(name="service", required=true)
    private Output service;

    /**
     * @return The service name.
     * 
     */
    public Output service() {
        return this.service;
    }

    /**
     * The service classification name.
     * 
     */
    @Import(name="serviceClassification", required=true)
    private Output serviceClassification;

    /**
     * @return The service classification name.
     * 
     */
    public Output serviceClassification() {
        return this.serviceClassification;
    }

    private RosettaNetPipRoleSettingsArgs() {}

    private RosettaNetPipRoleSettingsArgs(RosettaNetPipRoleSettingsArgs $) {
        this.action = $.action;
        this.businessDocument = $.businessDocument;
        this.description = $.description;
        this.role = $.role;
        this.roleType = $.roleType;
        this.service = $.service;
        this.serviceClassification = $.serviceClassification;
    }

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

    public static final class Builder {
        private RosettaNetPipRoleSettingsArgs $;

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

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

        /**
         * @param action The action name.
         * 
         * @return builder
         * 
         */
        public Builder action(Output action) {
            $.action = action;
            return this;
        }

        /**
         * @param action The action name.
         * 
         * @return builder
         * 
         */
        public Builder action(String action) {
            return action(Output.of(action));
        }

        /**
         * @param businessDocument The RosettaNet ProcessConfiguration business document.
         * 
         * @return builder
         * 
         */
        public Builder businessDocument(Output businessDocument) {
            $.businessDocument = businessDocument;
            return this;
        }

        /**
         * @param businessDocument The RosettaNet ProcessConfiguration business document.
         * 
         * @return builder
         * 
         */
        public Builder businessDocument(RosettaNetPipBusinessDocumentArgs businessDocument) {
            return businessDocument(Output.of(businessDocument));
        }

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

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

        /**
         * @param role The role name.
         * 
         * @return builder
         * 
         */
        public Builder role(Output role) {
            $.role = role;
            return this;
        }

        /**
         * @param role The role name.
         * 
         * @return builder
         * 
         */
        public Builder role(String role) {
            return role(Output.of(role));
        }

        /**
         * @param roleType The RosettaNet ProcessConfiguration role type.
         * 
         * @return builder
         * 
         */
        public Builder roleType(Output roleType) {
            $.roleType = roleType;
            return this;
        }

        /**
         * @param roleType The RosettaNet ProcessConfiguration role type.
         * 
         * @return builder
         * 
         */
        public Builder roleType(RosettaNetPipRoleType roleType) {
            return roleType(Output.of(roleType));
        }

        /**
         * @param service The service name.
         * 
         * @return builder
         * 
         */
        public Builder service(Output service) {
            $.service = service;
            return this;
        }

        /**
         * @param service The service name.
         * 
         * @return builder
         * 
         */
        public Builder service(String service) {
            return service(Output.of(service));
        }

        /**
         * @param serviceClassification The service classification name.
         * 
         * @return builder
         * 
         */
        public Builder serviceClassification(Output serviceClassification) {
            $.serviceClassification = serviceClassification;
            return this;
        }

        /**
         * @param serviceClassification The service classification name.
         * 
         * @return builder
         * 
         */
        public Builder serviceClassification(String serviceClassification) {
            return serviceClassification(Output.of(serviceClassification));
        }

        public RosettaNetPipRoleSettingsArgs build() {
            if ($.action == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsArgs", "action");
            }
            if ($.businessDocument == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsArgs", "businessDocument");
            }
            if ($.role == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsArgs", "role");
            }
            if ($.roleType == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsArgs", "roleType");
            }
            if ($.service == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsArgs", "service");
            }
            if ($.serviceClassification == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsArgs", "serviceClassification");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy