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

com.pulumi.azurenative.providerhub.inputs.ServiceTreeInfoArgs 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.azurenative.providerhub.inputs;

import com.pulumi.azurenative.providerhub.enums.Readiness;
import com.pulumi.core.Either;
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;


public final class ServiceTreeInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServiceTreeInfoArgs Empty = new ServiceTreeInfoArgs();

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

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

    @Import(name="readiness")
    private @Nullable Output> readiness;

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

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

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

    private ServiceTreeInfoArgs() {}

    private ServiceTreeInfoArgs(ServiceTreeInfoArgs $) {
        this.componentId = $.componentId;
        this.readiness = $.readiness;
        this.serviceId = $.serviceId;
    }

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

    public static final class Builder {
        private ServiceTreeInfoArgs $;

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

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

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

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

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

        public Builder readiness(Either readiness) {
            return readiness(Output.of(readiness));
        }

        public Builder readiness(String readiness) {
            return readiness(Either.ofLeft(readiness));
        }

        public Builder readiness(Readiness readiness) {
            return readiness(Either.ofRight(readiness));
        }

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

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

        public ServiceTreeInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy