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

com.pulumi.kubernetes.apiextensions.v1beta1.inputs.ExternalDocumentationPatchArgs 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.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;


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

    public static final ExternalDocumentationPatchArgs Empty = new ExternalDocumentationPatchArgs();

    @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 ExternalDocumentationPatchArgs() {}

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

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

    public static final class Builder {
        private ExternalDocumentationPatchArgs $;

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

        public Builder(ExternalDocumentationPatchArgs defaults) {
            $ = new ExternalDocumentationPatchArgs(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 ExternalDocumentationPatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy