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

com.pulumi.digitalocean.inputs.GetKubernetesVersionsPlainArgs Maven / Gradle / Ivy

There is a newer version: 4.35.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.digitalocean.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetKubernetesVersionsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetKubernetesVersionsPlainArgs Empty = new GetKubernetesVersionsPlainArgs();

    /**
     * If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
     * 
     */
    @Import(name="versionPrefix")
    private @Nullable String versionPrefix;

    /**
     * @return If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
     * 
     */
    public Optional versionPrefix() {
        return Optional.ofNullable(this.versionPrefix);
    }

    private GetKubernetesVersionsPlainArgs() {}

    private GetKubernetesVersionsPlainArgs(GetKubernetesVersionsPlainArgs $) {
        this.versionPrefix = $.versionPrefix;
    }

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

    public static final class Builder {
        private GetKubernetesVersionsPlainArgs $;

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

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

        /**
         * @param versionPrefix If provided, the provider will only return versions that match the string prefix. For example, `1.15.` will match all 1.15.x series releases.
         * 
         * @return builder
         * 
         */
        public Builder versionPrefix(@Nullable String versionPrefix) {
            $.versionPrefix = versionPrefix;
            return this;
        }

        public GetKubernetesVersionsPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy