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

com.pulumi.azurenative.mobilepacketcore.outputs.OperationalStatusResponse 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.mobilepacketcore.outputs;

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

@CustomType
public final class OperationalStatusResponse {
    /**
     * @return Health check results
     * 
     */
    private String healthCheck;
    /**
     * @return Status of the deployed workload
     * 
     */
    private String workload;

    private OperationalStatusResponse() {}
    /**
     * @return Health check results
     * 
     */
    public String healthCheck() {
        return this.healthCheck;
    }
    /**
     * @return Status of the deployed workload
     * 
     */
    public String workload() {
        return this.workload;
    }

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

    public static Builder builder(OperationalStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String healthCheck;
        private String workload;
        public Builder() {}
        public Builder(OperationalStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.healthCheck = defaults.healthCheck;
    	      this.workload = defaults.workload;
        }

        @CustomType.Setter
        public Builder healthCheck(String healthCheck) {
            if (healthCheck == null) {
              throw new MissingRequiredPropertyException("OperationalStatusResponse", "healthCheck");
            }
            this.healthCheck = healthCheck;
            return this;
        }
        @CustomType.Setter
        public Builder workload(String workload) {
            if (workload == null) {
              throw new MissingRequiredPropertyException("OperationalStatusResponse", "workload");
            }
            this.workload = workload;
            return this;
        }
        public OperationalStatusResponse build() {
            final var _resultValue = new OperationalStatusResponse();
            _resultValue.healthCheck = healthCheck;
            _resultValue.workload = workload;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy