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

com.pulumi.azurenative.hybridcontainerservice.outputs.AgentPoolProvisioningStatusResponseProvisioningStatus Maven / Gradle / Ivy

The 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.outputs;

import com.pulumi.azurenative.hybridcontainerservice.outputs.AgentPoolProvisioningStatusResponseError;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AgentPoolProvisioningStatusResponseProvisioningStatus {
    private @Nullable AgentPoolProvisioningStatusResponseError error;
    private @Nullable String operationId;
    /**
     * @return Phase represents the current phase of cluster actuation. E.g. Pending, Running, Terminating, Failed etc.
     * 
     */
    private @Nullable String phase;
    private @Nullable String status;

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

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

    public static Builder builder(AgentPoolProvisioningStatusResponseProvisioningStatus defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable AgentPoolProvisioningStatusResponseError error;
        private @Nullable String operationId;
        private @Nullable String phase;
        private @Nullable String status;
        public Builder() {}
        public Builder(AgentPoolProvisioningStatusResponseProvisioningStatus defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.error = defaults.error;
    	      this.operationId = defaults.operationId;
    	      this.phase = defaults.phase;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder error(@Nullable AgentPoolProvisioningStatusResponseError error) {

            this.error = error;
            return this;
        }
        @CustomType.Setter
        public Builder operationId(@Nullable String operationId) {

            this.operationId = operationId;
            return this;
        }
        @CustomType.Setter
        public Builder phase(@Nullable String phase) {

            this.phase = phase;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable String status) {

            this.status = status;
            return this;
        }
        public AgentPoolProvisioningStatusResponseProvisioningStatus build() {
            final var _resultValue = new AgentPoolProvisioningStatusResponseProvisioningStatus();
            _resultValue.error = error;
            _resultValue.operationId = operationId;
            _resultValue.phase = phase;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy