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

com.pulumi.googlenative.gkeonprem.v1.outputs.BareMetalMaintenanceConfigResponse 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 java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class BareMetalMaintenanceConfigResponse {
    /**
     * @return All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
     * 
     */
    private List maintenanceAddressCidrBlocks;

    private BareMetalMaintenanceConfigResponse() {}
    /**
     * @return All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
     * 
     */
    public List maintenanceAddressCidrBlocks() {
        return this.maintenanceAddressCidrBlocks;
    }

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

    public static Builder builder(BareMetalMaintenanceConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List maintenanceAddressCidrBlocks;
        public Builder() {}
        public Builder(BareMetalMaintenanceConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.maintenanceAddressCidrBlocks = defaults.maintenanceAddressCidrBlocks;
        }

        @CustomType.Setter
        public Builder maintenanceAddressCidrBlocks(List maintenanceAddressCidrBlocks) {
            this.maintenanceAddressCidrBlocks = Objects.requireNonNull(maintenanceAddressCidrBlocks);
            return this;
        }
        public Builder maintenanceAddressCidrBlocks(String... maintenanceAddressCidrBlocks) {
            return maintenanceAddressCidrBlocks(List.of(maintenanceAddressCidrBlocks));
        }
        public BareMetalMaintenanceConfigResponse build() {
            final var o = new BareMetalMaintenanceConfigResponse();
            o.maintenanceAddressCidrBlocks = maintenanceAddressCidrBlocks;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy