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

com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalAdminMaintenanceStatusResponse Maven / Gradle / Ivy

// *** 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.googlenative.gkeonprem.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalAdminMachineDrainStatusResponse;
import java.util.Objects;

@CustomType
public final class BareMetalAdminMaintenanceStatusResponse {
    /**
     * @return Represents the status of draining and drained machine nodes. This is used to show the progress of cluster upgrade.
     * 
     */
    private BareMetalAdminMachineDrainStatusResponse machineDrainStatus;

    private BareMetalAdminMaintenanceStatusResponse() {}
    /**
     * @return Represents the status of draining and drained machine nodes. This is used to show the progress of cluster upgrade.
     * 
     */
    public BareMetalAdminMachineDrainStatusResponse machineDrainStatus() {
        return this.machineDrainStatus;
    }

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

    public static Builder builder(BareMetalAdminMaintenanceStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private BareMetalAdminMachineDrainStatusResponse machineDrainStatus;
        public Builder() {}
        public Builder(BareMetalAdminMaintenanceStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.machineDrainStatus = defaults.machineDrainStatus;
        }

        @CustomType.Setter
        public Builder machineDrainStatus(BareMetalAdminMachineDrainStatusResponse machineDrainStatus) {
            this.machineDrainStatus = Objects.requireNonNull(machineDrainStatus);
            return this;
        }
        public BareMetalAdminMaintenanceStatusResponse build() {
            final var o = new BareMetalAdminMaintenanceStatusResponse();
            o.machineDrainStatus = machineDrainStatus;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy