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

com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesResourcesPatchArgs 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.resource.v1alpha2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesInstancePatchArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * NamedResourcesResources is used in ResourceModel.
 * 
 */
public final class NamedResourcesResourcesPatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final NamedResourcesResourcesPatchArgs Empty = new NamedResourcesResourcesPatchArgs();

    /**
     * The list of all individual resources instances currently available.
     * 
     */
    @Import(name="instances")
    private @Nullable Output> instances;

    /**
     * @return The list of all individual resources instances currently available.
     * 
     */
    public Optional>> instances() {
        return Optional.ofNullable(this.instances);
    }

    private NamedResourcesResourcesPatchArgs() {}

    private NamedResourcesResourcesPatchArgs(NamedResourcesResourcesPatchArgs $) {
        this.instances = $.instances;
    }

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

    public static final class Builder {
        private NamedResourcesResourcesPatchArgs $;

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

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

        /**
         * @param instances The list of all individual resources instances currently available.
         * 
         * @return builder
         * 
         */
        public Builder instances(@Nullable Output> instances) {
            $.instances = instances;
            return this;
        }

        /**
         * @param instances The list of all individual resources instances currently available.
         * 
         * @return builder
         * 
         */
        public Builder instances(List instances) {
            return instances(Output.of(instances));
        }

        /**
         * @param instances The list of all individual resources instances currently available.
         * 
         * @return builder
         * 
         */
        public Builder instances(NamedResourcesInstancePatchArgs... instances) {
            return instances(List.of(instances));
        }

        public NamedResourcesResourcesPatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy