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

com.pulumi.kubernetes.storagemigration.v1alpha1.inputs.GroupVersionResourceArgs 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.storagemigration.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;


/**
 * The names of the group, the version, and the resource.
 * 
 */
public final class GroupVersionResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final GroupVersionResourceArgs Empty = new GroupVersionResourceArgs();

    /**
     * The name of the group.
     * 
     */
    @Import(name="group")
    private @Nullable Output group;

    /**
     * @return The name of the group.
     * 
     */
    public Optional> group() {
        return Optional.ofNullable(this.group);
    }

    /**
     * The name of the resource.
     * 
     */
    @Import(name="resource")
    private @Nullable Output resource;

    /**
     * @return The name of the resource.
     * 
     */
    public Optional> resource() {
        return Optional.ofNullable(this.resource);
    }

    /**
     * The name of the version.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The name of the version.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private GroupVersionResourceArgs() {}

    private GroupVersionResourceArgs(GroupVersionResourceArgs $) {
        this.group = $.group;
        this.resource = $.resource;
        this.version = $.version;
    }

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

    public static final class Builder {
        private GroupVersionResourceArgs $;

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

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

        /**
         * @param group The name of the group.
         * 
         * @return builder
         * 
         */
        public Builder group(@Nullable Output group) {
            $.group = group;
            return this;
        }

        /**
         * @param group The name of the group.
         * 
         * @return builder
         * 
         */
        public Builder group(String group) {
            return group(Output.of(group));
        }

        /**
         * @param resource The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resource(@Nullable Output resource) {
            $.resource = resource;
            return this;
        }

        /**
         * @param resource The name of the resource.
         * 
         * @return builder
         * 
         */
        public Builder resource(String resource) {
            return resource(Output.of(resource));
        }

        /**
         * @param version The name of the version.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The name of the version.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public GroupVersionResourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy