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

com.pulumi.azurenative.logic.outputs.GetWorkflowResult 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.FlowAccessControlConfigurationResponse;
import com.pulumi.azurenative.logic.outputs.FlowEndpointsConfigurationResponse;
import com.pulumi.azurenative.logic.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.logic.outputs.ResourceReferenceResponse;
import com.pulumi.azurenative.logic.outputs.SkuResponse;
import com.pulumi.azurenative.logic.outputs.WorkflowParameterResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetWorkflowResult {
    /**
     * @return The access control configuration.
     * 
     */
    private @Nullable FlowAccessControlConfigurationResponse accessControl;
    /**
     * @return Gets the access endpoint.
     * 
     */
    private String accessEndpoint;
    /**
     * @return Gets the changed time.
     * 
     */
    private String changedTime;
    /**
     * @return Gets the created time.
     * 
     */
    private String createdTime;
    /**
     * @return The definition.
     * 
     */
    private @Nullable Object definition;
    /**
     * @return The endpoints configuration.
     * 
     */
    private @Nullable FlowEndpointsConfigurationResponse endpointsConfiguration;
    /**
     * @return The resource id.
     * 
     */
    private String id;
    /**
     * @return Managed service identity properties.
     * 
     */
    private @Nullable ManagedServiceIdentityResponse identity;
    /**
     * @return The integration account.
     * 
     */
    private @Nullable ResourceReferenceResponse integrationAccount;
    /**
     * @return The integration service environment.
     * 
     */
    private @Nullable ResourceReferenceResponse integrationServiceEnvironment;
    /**
     * @return The resource location.
     * 
     */
    private @Nullable String location;
    /**
     * @return Gets the resource name.
     * 
     */
    private String name;
    /**
     * @return The parameters.
     * 
     */
    private @Nullable Map parameters;
    /**
     * @return Gets the provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The sku.
     * 
     */
    private SkuResponse sku;
    /**
     * @return The state.
     * 
     */
    private @Nullable String state;
    /**
     * @return The resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Gets the resource type.
     * 
     */
    private String type;
    /**
     * @return Gets the version.
     * 
     */
    private String version;

    private GetWorkflowResult() {}
    /**
     * @return The access control configuration.
     * 
     */
    public Optional accessControl() {
        return Optional.ofNullable(this.accessControl);
    }
    /**
     * @return Gets the access endpoint.
     * 
     */
    public String accessEndpoint() {
        return this.accessEndpoint;
    }
    /**
     * @return Gets the changed time.
     * 
     */
    public String changedTime() {
        return this.changedTime;
    }
    /**
     * @return Gets the created time.
     * 
     */
    public String createdTime() {
        return this.createdTime;
    }
    /**
     * @return The definition.
     * 
     */
    public Optional definition() {
        return Optional.ofNullable(this.definition);
    }
    /**
     * @return The endpoints configuration.
     * 
     */
    public Optional endpointsConfiguration() {
        return Optional.ofNullable(this.endpointsConfiguration);
    }
    /**
     * @return The resource id.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Managed service identity properties.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return The integration account.
     * 
     */
    public Optional integrationAccount() {
        return Optional.ofNullable(this.integrationAccount);
    }
    /**
     * @return The integration service environment.
     * 
     */
    public Optional integrationServiceEnvironment() {
        return Optional.ofNullable(this.integrationServiceEnvironment);
    }
    /**
     * @return The resource location.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return Gets the resource name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The parameters.
     * 
     */
    public Map parameters() {
        return this.parameters == null ? Map.of() : this.parameters;
    }
    /**
     * @return Gets the provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The sku.
     * 
     */
    public SkuResponse sku() {
        return this.sku;
    }
    /**
     * @return The state.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }
    /**
     * @return The resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Gets the resource type.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Gets the version.
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(GetWorkflowResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable FlowAccessControlConfigurationResponse accessControl;
        private String accessEndpoint;
        private String changedTime;
        private String createdTime;
        private @Nullable Object definition;
        private @Nullable FlowEndpointsConfigurationResponse endpointsConfiguration;
        private String id;
        private @Nullable ManagedServiceIdentityResponse identity;
        private @Nullable ResourceReferenceResponse integrationAccount;
        private @Nullable ResourceReferenceResponse integrationServiceEnvironment;
        private @Nullable String location;
        private String name;
        private @Nullable Map parameters;
        private String provisioningState;
        private SkuResponse sku;
        private @Nullable String state;
        private @Nullable Map tags;
        private String type;
        private String version;
        public Builder() {}
        public Builder(GetWorkflowResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessControl = defaults.accessControl;
    	      this.accessEndpoint = defaults.accessEndpoint;
    	      this.changedTime = defaults.changedTime;
    	      this.createdTime = defaults.createdTime;
    	      this.definition = defaults.definition;
    	      this.endpointsConfiguration = defaults.endpointsConfiguration;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.integrationAccount = defaults.integrationAccount;
    	      this.integrationServiceEnvironment = defaults.integrationServiceEnvironment;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.parameters = defaults.parameters;
    	      this.provisioningState = defaults.provisioningState;
    	      this.sku = defaults.sku;
    	      this.state = defaults.state;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder accessControl(@Nullable FlowAccessControlConfigurationResponse accessControl) {

            this.accessControl = accessControl;
            return this;
        }
        @CustomType.Setter
        public Builder accessEndpoint(String accessEndpoint) {
            if (accessEndpoint == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "accessEndpoint");
            }
            this.accessEndpoint = accessEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder changedTime(String changedTime) {
            if (changedTime == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "changedTime");
            }
            this.changedTime = changedTime;
            return this;
        }
        @CustomType.Setter
        public Builder createdTime(String createdTime) {
            if (createdTime == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "createdTime");
            }
            this.createdTime = createdTime;
            return this;
        }
        @CustomType.Setter
        public Builder definition(@Nullable Object definition) {

            this.definition = definition;
            return this;
        }
        @CustomType.Setter
        public Builder endpointsConfiguration(@Nullable FlowEndpointsConfigurationResponse endpointsConfiguration) {

            this.endpointsConfiguration = endpointsConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable ManagedServiceIdentityResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder integrationAccount(@Nullable ResourceReferenceResponse integrationAccount) {

            this.integrationAccount = integrationAccount;
            return this;
        }
        @CustomType.Setter
        public Builder integrationServiceEnvironment(@Nullable ResourceReferenceResponse integrationServiceEnvironment) {

            this.integrationServiceEnvironment = integrationServiceEnvironment;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(@Nullable Map parameters) {

            this.parameters = parameters;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder sku(SkuResponse sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder state(@Nullable String state) {

            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("GetWorkflowResult", "version");
            }
            this.version = version;
            return this;
        }
        public GetWorkflowResult build() {
            final var _resultValue = new GetWorkflowResult();
            _resultValue.accessControl = accessControl;
            _resultValue.accessEndpoint = accessEndpoint;
            _resultValue.changedTime = changedTime;
            _resultValue.createdTime = createdTime;
            _resultValue.definition = definition;
            _resultValue.endpointsConfiguration = endpointsConfiguration;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.integrationAccount = integrationAccount;
            _resultValue.integrationServiceEnvironment = integrationServiceEnvironment;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.parameters = parameters;
            _resultValue.provisioningState = provisioningState;
            _resultValue.sku = sku;
            _resultValue.state = state;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}