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

com.pulumi.azurenative.logic.outputs.RosettaNetPipRoleSettingsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.outputs;

import com.pulumi.azurenative.logic.outputs.RosettaNetPipBusinessDocumentResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class RosettaNetPipRoleSettingsResponse {
    /**
     * @return The action name.
     * 
     */
    private String action;
    /**
     * @return The RosettaNet ProcessConfiguration business document.
     * 
     */
    private RosettaNetPipBusinessDocumentResponse businessDocument;
    /**
     * @return The description.
     * 
     */
    private @Nullable String description;
    /**
     * @return The role name.
     * 
     */
    private String role;
    /**
     * @return The RosettaNet ProcessConfiguration role type.
     * 
     */
    private String roleType;
    /**
     * @return The service name.
     * 
     */
    private String service;
    /**
     * @return The service classification name.
     * 
     */
    private String serviceClassification;

    private RosettaNetPipRoleSettingsResponse() {}
    /**
     * @return The action name.
     * 
     */
    public String action() {
        return this.action;
    }
    /**
     * @return The RosettaNet ProcessConfiguration business document.
     * 
     */
    public RosettaNetPipBusinessDocumentResponse businessDocument() {
        return this.businessDocument;
    }
    /**
     * @return The description.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The role name.
     * 
     */
    public String role() {
        return this.role;
    }
    /**
     * @return The RosettaNet ProcessConfiguration role type.
     * 
     */
    public String roleType() {
        return this.roleType;
    }
    /**
     * @return The service name.
     * 
     */
    public String service() {
        return this.service;
    }
    /**
     * @return The service classification name.
     * 
     */
    public String serviceClassification() {
        return this.serviceClassification;
    }

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

    public static Builder builder(RosettaNetPipRoleSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String action;
        private RosettaNetPipBusinessDocumentResponse businessDocument;
        private @Nullable String description;
        private String role;
        private String roleType;
        private String service;
        private String serviceClassification;
        public Builder() {}
        public Builder(RosettaNetPipRoleSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.action = defaults.action;
    	      this.businessDocument = defaults.businessDocument;
    	      this.description = defaults.description;
    	      this.role = defaults.role;
    	      this.roleType = defaults.roleType;
    	      this.service = defaults.service;
    	      this.serviceClassification = defaults.serviceClassification;
        }

        @CustomType.Setter
        public Builder action(String action) {
            if (action == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsResponse", "action");
            }
            this.action = action;
            return this;
        }
        @CustomType.Setter
        public Builder businessDocument(RosettaNetPipBusinessDocumentResponse businessDocument) {
            if (businessDocument == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsResponse", "businessDocument");
            }
            this.businessDocument = businessDocument;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder role(String role) {
            if (role == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsResponse", "role");
            }
            this.role = role;
            return this;
        }
        @CustomType.Setter
        public Builder roleType(String roleType) {
            if (roleType == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsResponse", "roleType");
            }
            this.roleType = roleType;
            return this;
        }
        @CustomType.Setter
        public Builder service(String service) {
            if (service == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsResponse", "service");
            }
            this.service = service;
            return this;
        }
        @CustomType.Setter
        public Builder serviceClassification(String serviceClassification) {
            if (serviceClassification == null) {
              throw new MissingRequiredPropertyException("RosettaNetPipRoleSettingsResponse", "serviceClassification");
            }
            this.serviceClassification = serviceClassification;
            return this;
        }
        public RosettaNetPipRoleSettingsResponse build() {
            final var _resultValue = new RosettaNetPipRoleSettingsResponse();
            _resultValue.action = action;
            _resultValue.businessDocument = businessDocument;
            _resultValue.description = description;
            _resultValue.role = role;
            _resultValue.roleType = roleType;
            _resultValue.service = service;
            _resultValue.serviceClassification = serviceClassification;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy