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

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

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

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;


/**
 * ParentReference describes a reference to a parent object.
 * 
 */
public final class ParentReferencePatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final ParentReferencePatchArgs Empty = new ParentReferencePatchArgs();

    /**
     * Group is the group of the object being referenced.
     * 
     */
    @Import(name="group")
    private @Nullable Output group;

    /**
     * @return Group is the group of the object being referenced.
     * 
     */
    public Optional> group() {
        return Optional.ofNullable(this.group);
    }

    /**
     * Name is the name of the object being referenced.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name is the name of the object being referenced.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Namespace is the namespace of the object being referenced.
     * 
     */
    @Import(name="namespace")
    private @Nullable Output namespace;

    /**
     * @return Namespace is the namespace of the object being referenced.
     * 
     */
    public Optional> namespace() {
        return Optional.ofNullable(this.namespace);
    }

    /**
     * Resource is the resource of the object being referenced.
     * 
     */
    @Import(name="resource")
    private @Nullable Output resource;

    /**
     * @return Resource is the resource of the object being referenced.
     * 
     */
    public Optional> resource() {
        return Optional.ofNullable(this.resource);
    }

    /**
     * UID is the uid of the object being referenced.
     * 
     */
    @Import(name="uid")
    private @Nullable Output uid;

    /**
     * @return UID is the uid of the object being referenced.
     * 
     */
    public Optional> uid() {
        return Optional.ofNullable(this.uid);
    }

    private ParentReferencePatchArgs() {}

    private ParentReferencePatchArgs(ParentReferencePatchArgs $) {
        this.group = $.group;
        this.name = $.name;
        this.namespace = $.namespace;
        this.resource = $.resource;
        this.uid = $.uid;
    }

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

    public static final class Builder {
        private ParentReferencePatchArgs $;

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

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

        /**
         * @param group Group is the group of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder group(@Nullable Output group) {
            $.group = group;
            return this;
        }

        /**
         * @param group Group is the group of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder group(String group) {
            return group(Output.of(group));
        }

        /**
         * @param name Name is the name of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name is the name of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param namespace Namespace is the namespace of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder namespace(@Nullable Output namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace Namespace is the namespace of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

        /**
         * @param resource Resource is the resource of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder resource(@Nullable Output resource) {
            $.resource = resource;
            return this;
        }

        /**
         * @param resource Resource is the resource of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder resource(String resource) {
            return resource(Output.of(resource));
        }

        /**
         * @param uid UID is the uid of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder uid(@Nullable Output uid) {
            $.uid = uid;
            return this;
        }

        /**
         * @param uid UID is the uid of the object being referenced.
         * 
         * @return builder
         * 
         */
        public Builder uid(String uid) {
            return uid(Output.of(uid));
        }

        public ParentReferencePatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy