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

com.pulumi.kubernetes.apiextensions.v1.inputs.ExternalDocumentationArgs 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.apiextensions.v1.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;


/**
 * ExternalDocumentation allows referencing an external resource for extended documentation.
 * 
 */
public final class ExternalDocumentationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExternalDocumentationArgs Empty = new ExternalDocumentationArgs();

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

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

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

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

    private ExternalDocumentationArgs() {}

    private ExternalDocumentationArgs(ExternalDocumentationArgs $) {
        this.description = $.description;
        this.url = $.url;
    }

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

    public static final class Builder {
        private ExternalDocumentationArgs $;

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

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

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

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

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

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

        public ExternalDocumentationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy