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

com.pulumi.kubernetes.networking.v1alpha1.inputs.ServiceCIDRStatusArgs Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
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.kubernetes.networking.v1alpha1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.meta.v1.inputs.ConditionArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * ServiceCIDRStatus describes the current state of the ServiceCIDR.
 * 
 */
public final class ServiceCIDRStatusArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServiceCIDRStatusArgs Empty = new ServiceCIDRStatusArgs();

    /**
     * conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
     * 
     */
    @Import(name="conditions")
    private @Nullable Output> conditions;

    /**
     * @return conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
     * 
     */
    public Optional>> conditions() {
        return Optional.ofNullable(this.conditions);
    }

    private ServiceCIDRStatusArgs() {}

    private ServiceCIDRStatusArgs(ServiceCIDRStatusArgs $) {
        this.conditions = $.conditions;
    }

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

    public static final class Builder {
        private ServiceCIDRStatusArgs $;

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

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

        /**
         * @param conditions conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
         * 
         * @return builder
         * 
         */
        public Builder conditions(@Nullable Output> conditions) {
            $.conditions = conditions;
            return this;
        }

        /**
         * @param conditions conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
         * 
         * @return builder
         * 
         */
        public Builder conditions(List conditions) {
            return conditions(Output.of(conditions));
        }

        /**
         * @param conditions conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
         * 
         * @return builder
         * 
         */
        public Builder conditions(ConditionArgs... conditions) {
            return conditions(List.of(conditions));
        }

        public ServiceCIDRStatusArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy