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

com.pulumi.kubernetes.admissionregistration.v1beta1.inputs.ParamKindPatchArgs 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.admissionregistration.v1beta1.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;


/**
 * ParamKind is a tuple of Group Kind and Version.
 * 
 */
public final class ParamKindPatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final ParamKindPatchArgs Empty = new ParamKindPatchArgs();

    /**
     * APIVersion is the API group version the resources belong to. In format of "group/version". Required.
     * 
     */
    @Import(name="apiVersion")
    private @Nullable Output apiVersion;

    /**
     * @return APIVersion is the API group version the resources belong to. In format of "group/version". Required.
     * 
     */
    public Optional> apiVersion() {
        return Optional.ofNullable(this.apiVersion);
    }

    /**
     * Kind is the API kind the resources belong to. Required.
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @return Kind is the API kind the resources belong to. Required.
     * 
     */
    public Optional> kind() {
        return Optional.ofNullable(this.kind);
    }

    private ParamKindPatchArgs() {}

    private ParamKindPatchArgs(ParamKindPatchArgs $) {
        this.apiVersion = $.apiVersion;
        this.kind = $.kind;
    }

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

    public static final class Builder {
        private ParamKindPatchArgs $;

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

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

        /**
         * @param apiVersion APIVersion is the API group version the resources belong to. In format of "group/version". Required.
         * 
         * @return builder
         * 
         */
        public Builder apiVersion(@Nullable Output apiVersion) {
            $.apiVersion = apiVersion;
            return this;
        }

        /**
         * @param apiVersion APIVersion is the API group version the resources belong to. In format of "group/version". Required.
         * 
         * @return builder
         * 
         */
        public Builder apiVersion(String apiVersion) {
            return apiVersion(Output.of(apiVersion));
        }

        /**
         * @param kind Kind is the API kind the resources belong to. Required.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind Kind is the API kind the resources belong to. Required.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        public ParamKindPatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy