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

com.pulumi.azurenative.synapse.outputs.ManagedIntegrationRuntimeOperationResultResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class ManagedIntegrationRuntimeOperationResultResponse {
    /**
     * @return The activity id for the operation request.
     * 
     */
    private String activityId;
    /**
     * @return The error code.
     * 
     */
    private String errorCode;
    /**
     * @return Managed integration runtime error parameters.
     * 
     */
    private List parameters;
    /**
     * @return The operation result.
     * 
     */
    private String result;
    /**
     * @return The start time of the operation.
     * 
     */
    private String startTime;
    /**
     * @return The operation type. Could be start or stop.
     * 
     */
    private String type;

    private ManagedIntegrationRuntimeOperationResultResponse() {}
    /**
     * @return The activity id for the operation request.
     * 
     */
    public String activityId() {
        return this.activityId;
    }
    /**
     * @return The error code.
     * 
     */
    public String errorCode() {
        return this.errorCode;
    }
    /**
     * @return Managed integration runtime error parameters.
     * 
     */
    public List parameters() {
        return this.parameters;
    }
    /**
     * @return The operation result.
     * 
     */
    public String result() {
        return this.result;
    }
    /**
     * @return The start time of the operation.
     * 
     */
    public String startTime() {
        return this.startTime;
    }
    /**
     * @return The operation type. Could be start or stop.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(ManagedIntegrationRuntimeOperationResultResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String activityId;
        private String errorCode;
        private List parameters;
        private String result;
        private String startTime;
        private String type;
        public Builder() {}
        public Builder(ManagedIntegrationRuntimeOperationResultResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activityId = defaults.activityId;
    	      this.errorCode = defaults.errorCode;
    	      this.parameters = defaults.parameters;
    	      this.result = defaults.result;
    	      this.startTime = defaults.startTime;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder activityId(String activityId) {
            if (activityId == null) {
              throw new MissingRequiredPropertyException("ManagedIntegrationRuntimeOperationResultResponse", "activityId");
            }
            this.activityId = activityId;
            return this;
        }
        @CustomType.Setter
        public Builder errorCode(String errorCode) {
            if (errorCode == null) {
              throw new MissingRequiredPropertyException("ManagedIntegrationRuntimeOperationResultResponse", "errorCode");
            }
            this.errorCode = errorCode;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(List parameters) {
            if (parameters == null) {
              throw new MissingRequiredPropertyException("ManagedIntegrationRuntimeOperationResultResponse", "parameters");
            }
            this.parameters = parameters;
            return this;
        }
        public Builder parameters(String... parameters) {
            return parameters(List.of(parameters));
        }
        @CustomType.Setter
        public Builder result(String result) {
            if (result == null) {
              throw new MissingRequiredPropertyException("ManagedIntegrationRuntimeOperationResultResponse", "result");
            }
            this.result = result;
            return this;
        }
        @CustomType.Setter
        public Builder startTime(String startTime) {
            if (startTime == null) {
              throw new MissingRequiredPropertyException("ManagedIntegrationRuntimeOperationResultResponse", "startTime");
            }
            this.startTime = startTime;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("ManagedIntegrationRuntimeOperationResultResponse", "type");
            }
            this.type = type;
            return this;
        }
        public ManagedIntegrationRuntimeOperationResultResponse build() {
            final var _resultValue = new ManagedIntegrationRuntimeOperationResultResponse();
            _resultValue.activityId = activityId;
            _resultValue.errorCode = errorCode;
            _resultValue.parameters = parameters;
            _resultValue.result = result;
            _resultValue.startTime = startTime;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy