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

com.ovhcloud.pulumi.ovh.Dedicated.inputs.ServerUserMetadataArgs Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Dedicated.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;


public final class ServerUserMetadataArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServerUserMetadataArgs Empty = new ServerUserMetadataArgs();

    @Import(name="key")
    private @Nullable Output key;

    public Optional> key() {
        return Optional.ofNullable(this.key);
    }

    @Import(name="value")
    private @Nullable Output value;

    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private ServerUserMetadataArgs() {}

    private ServerUserMetadataArgs(ServerUserMetadataArgs $) {
        this.key = $.key;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ServerUserMetadataArgs $;

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

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

        public Builder key(@Nullable Output key) {
            $.key = key;
            return this;
        }

        public Builder key(String key) {
            return key(Output.of(key));
        }

        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        public Builder value(String value) {
            return value(Output.of(value));
        }

        public ServerUserMetadataArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy