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

com.pulumi.azurenative.hybridcontainerservice.inputs.AgentPoolProvisioningStatusProvisioningStatusArgs 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.AgentPoolProvisioningStatusErrorArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Contains Provisioning errors
 * 
 */
public final class AgentPoolProvisioningStatusProvisioningStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final AgentPoolProvisioningStatusProvisioningStatusArgs Empty = new AgentPoolProvisioningStatusProvisioningStatusArgs();

    @Import(name="error")
    private @Nullable Output error;

    public Optional> error() {
        return Optional.ofNullable(this.error);
    }

    @Import(name="operationId")
    private @Nullable Output operationId;

    public Optional> operationId() {
        return Optional.ofNullable(this.operationId);
    }

    /**
     * Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
     * 
     */
    @Import(name="phase")
    private @Nullable Output phase;

    /**
     * @return Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
     * 
     */
    public Optional> phase() {
        return Optional.ofNullable(this.phase);
    }

    @Import(name="status")
    private @Nullable Output status;

    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private AgentPoolProvisioningStatusProvisioningStatusArgs() {}

    private AgentPoolProvisioningStatusProvisioningStatusArgs(AgentPoolProvisioningStatusProvisioningStatusArgs $) {
        this.error = $.error;
        this.operationId = $.operationId;
        this.phase = $.phase;
        this.status = $.status;
    }

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

    public static final class Builder {
        private AgentPoolProvisioningStatusProvisioningStatusArgs $;

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

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

        public Builder error(@Nullable Output error) {
            $.error = error;
            return this;
        }

        public Builder error(AgentPoolProvisioningStatusErrorArgs error) {
            return error(Output.of(error));
        }

        public Builder operationId(@Nullable Output operationId) {
            $.operationId = operationId;
            return this;
        }

        public Builder operationId(String operationId) {
            return operationId(Output.of(operationId));
        }

        /**
         * @param phase Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
         * 
         * @return builder
         * 
         */
        public Builder phase(@Nullable Output phase) {
            $.phase = phase;
            return this;
        }

        /**
         * @param phase Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
         * 
         * @return builder
         * 
         */
        public Builder phase(String phase) {
            return phase(Output.of(phase));
        }

        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        public Builder status(String status) {
            return status(Output.of(status));
        }

        public AgentPoolProvisioningStatusProvisioningStatusArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy