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

com.pulumi.azurenative.web.inputs.ApiReferenceArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.web.inputs;

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


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

    public static final ApiReferenceArgs Empty = new ApiReferenceArgs();

    /**
     * Brand color
     * 
     */
    @Import(name="brandColor")
    private @Nullable Output brandColor;

    /**
     * @return Brand color
     * 
     */
    public Optional> brandColor() {
        return Optional.ofNullable(this.brandColor);
    }

    /**
     * The custom API description
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The custom API description
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The display name
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The display name
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * The icon URI
     * 
     */
    @Import(name="iconUri")
    private @Nullable Output iconUri;

    /**
     * @return The icon URI
     * 
     */
    public Optional> iconUri() {
        return Optional.ofNullable(this.iconUri);
    }

    /**
     * Resource reference id
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource reference id
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name of the API
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the API
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The JSON representation of the swagger
     * 
     */
    @Import(name="swagger")
    private @Nullable Output swagger;

    /**
     * @return The JSON representation of the swagger
     * 
     */
    public Optional> swagger() {
        return Optional.ofNullable(this.swagger);
    }

    /**
     * Resource reference type
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Resource reference type
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private ApiReferenceArgs() {}

    private ApiReferenceArgs(ApiReferenceArgs $) {
        this.brandColor = $.brandColor;
        this.description = $.description;
        this.displayName = $.displayName;
        this.iconUri = $.iconUri;
        this.id = $.id;
        this.name = $.name;
        this.swagger = $.swagger;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ApiReferenceArgs $;

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

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

        /**
         * @param brandColor Brand color
         * 
         * @return builder
         * 
         */
        public Builder brandColor(@Nullable Output brandColor) {
            $.brandColor = brandColor;
            return this;
        }

        /**
         * @param brandColor Brand color
         * 
         * @return builder
         * 
         */
        public Builder brandColor(String brandColor) {
            return brandColor(Output.of(brandColor));
        }

        /**
         * @param description The custom API description
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The custom API description
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName The display name
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The display name
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param iconUri The icon URI
         * 
         * @return builder
         * 
         */
        public Builder iconUri(@Nullable Output iconUri) {
            $.iconUri = iconUri;
            return this;
        }

        /**
         * @param iconUri The icon URI
         * 
         * @return builder
         * 
         */
        public Builder iconUri(String iconUri) {
            return iconUri(Output.of(iconUri));
        }

        /**
         * @param id Resource reference id
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource reference id
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name of the API
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the API
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param swagger The JSON representation of the swagger
         * 
         * @return builder
         * 
         */
        public Builder swagger(@Nullable Output swagger) {
            $.swagger = swagger;
            return this;
        }

        /**
         * @param swagger The JSON representation of the swagger
         * 
         * @return builder
         * 
         */
        public Builder swagger(Object swagger) {
            return swagger(Output.of(swagger));
        }

        /**
         * @param type Resource reference type
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Resource reference type
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ApiReferenceArgs build() {
            return $;
        }
    }

}