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

com.pulumi.azurenative.hybridcontainerservice.inputs.AgentPoolProvisioningStatusStatusArgs 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.hybridcontainerservice.inputs;

import com.pulumi.azurenative.hybridcontainerservice.inputs.AgentPoolProvisioningStatusProvisioningStatusArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * HybridAKSNodePoolStatus defines the observed state of HybridAKSNodePool
 * 
 */
public final class AgentPoolProvisioningStatusStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final AgentPoolProvisioningStatusStatusArgs Empty = new AgentPoolProvisioningStatusStatusArgs();

    /**
     * ErrorMessage - Error messages during creation of cluster
     * 
     */
    @Import(name="errorMessage")
    private @Nullable Output errorMessage;

    /**
     * @return ErrorMessage - Error messages during creation of cluster
     * 
     */
    public Optional> errorMessage() {
        return Optional.ofNullable(this.errorMessage);
    }

    /**
     * Contains Provisioning errors
     * 
     */
    @Import(name="provisioningStatus")
    private @Nullable Output provisioningStatus;

    /**
     * @return Contains Provisioning errors
     * 
     */
    public Optional> provisioningStatus() {
        return Optional.ofNullable(this.provisioningStatus);
    }

    /**
     * Total number of ready machines targeted by this deployment.
     * 
     */
    @Import(name="readyReplicas")
    private @Nullable Output readyReplicas;

    /**
     * @return Total number of ready machines targeted by this deployment.
     * 
     */
    public Optional> readyReplicas() {
        return Optional.ofNullable(this.readyReplicas);
    }

    /**
     * Total number of non-terminated machines targeted by this deployment
     * 
     */
    @Import(name="replicas")
    private @Nullable Output replicas;

    /**
     * @return Total number of non-terminated machines targeted by this deployment
     * 
     */
    public Optional> replicas() {
        return Optional.ofNullable(this.replicas);
    }

    private AgentPoolProvisioningStatusStatusArgs() {}

    private AgentPoolProvisioningStatusStatusArgs(AgentPoolProvisioningStatusStatusArgs $) {
        this.errorMessage = $.errorMessage;
        this.provisioningStatus = $.provisioningStatus;
        this.readyReplicas = $.readyReplicas;
        this.replicas = $.replicas;
    }

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

    public static final class Builder {
        private AgentPoolProvisioningStatusStatusArgs $;

        public Builder() {
            $ = new AgentPoolProvisioningStatusStatusArgs();
        }

        public Builder(AgentPoolProvisioningStatusStatusArgs defaults) {
            $ = new AgentPoolProvisioningStatusStatusArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param errorMessage ErrorMessage - Error messages during creation of cluster
         * 
         * @return builder
         * 
         */
        public Builder errorMessage(@Nullable Output errorMessage) {
            $.errorMessage = errorMessage;
            return this;
        }

        /**
         * @param errorMessage ErrorMessage - Error messages during creation of cluster
         * 
         * @return builder
         * 
         */
        public Builder errorMessage(String errorMessage) {
            return errorMessage(Output.of(errorMessage));
        }

        /**
         * @param provisioningStatus Contains Provisioning errors
         * 
         * @return builder
         * 
         */
        public Builder provisioningStatus(@Nullable Output provisioningStatus) {
            $.provisioningStatus = provisioningStatus;
            return this;
        }

        /**
         * @param provisioningStatus Contains Provisioning errors
         * 
         * @return builder
         * 
         */
        public Builder provisioningStatus(AgentPoolProvisioningStatusProvisioningStatusArgs provisioningStatus) {
            return provisioningStatus(Output.of(provisioningStatus));
        }

        /**
         * @param readyReplicas Total number of ready machines targeted by this deployment.
         * 
         * @return builder
         * 
         */
        public Builder readyReplicas(@Nullable Output readyReplicas) {
            $.readyReplicas = readyReplicas;
            return this;
        }

        /**
         * @param readyReplicas Total number of ready machines targeted by this deployment.
         * 
         * @return builder
         * 
         */
        public Builder readyReplicas(Integer readyReplicas) {
            return readyReplicas(Output.of(readyReplicas));
        }

        /**
         * @param replicas Total number of non-terminated machines targeted by this deployment
         * 
         * @return builder
         * 
         */
        public Builder replicas(@Nullable Output replicas) {
            $.replicas = replicas;
            return this;
        }

        /**
         * @param replicas Total number of non-terminated machines targeted by this deployment
         * 
         * @return builder
         * 
         */
        public Builder replicas(Integer replicas) {
            return replicas(Output.of(replicas));
        }

        public AgentPoolProvisioningStatusStatusArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy