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

com.pulumi.azurenative.web.outputs.ApiReferenceResponse 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.outputs;

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

@CustomType
public final class ApiReferenceResponse {
    /**
     * @return Brand color
     * 
     */
    private @Nullable String brandColor;
    /**
     * @return The custom API description
     * 
     */
    private @Nullable String description;
    /**
     * @return The display name
     * 
     */
    private @Nullable String displayName;
    /**
     * @return The icon URI
     * 
     */
    private @Nullable String iconUri;
    /**
     * @return Resource reference id
     * 
     */
    private @Nullable String id;
    /**
     * @return The name of the API
     * 
     */
    private @Nullable String name;
    /**
     * @return The JSON representation of the swagger
     * 
     */
    private @Nullable Object swagger;
    /**
     * @return Resource reference type
     * 
     */
    private @Nullable String type;

    private ApiReferenceResponse() {}
    /**
     * @return Brand color
     * 
     */
    public Optional brandColor() {
        return Optional.ofNullable(this.brandColor);
    }
    /**
     * @return The custom API description
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return The display name
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return The icon URI
     * 
     */
    public Optional iconUri() {
        return Optional.ofNullable(this.iconUri);
    }
    /**
     * @return Resource reference id
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return The name of the API
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The JSON representation of the swagger
     * 
     */
    public Optional swagger() {
        return Optional.ofNullable(this.swagger);
    }
    /**
     * @return Resource reference type
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(ApiReferenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String brandColor;
        private @Nullable String description;
        private @Nullable String displayName;
        private @Nullable String iconUri;
        private @Nullable String id;
        private @Nullable String name;
        private @Nullable Object swagger;
        private @Nullable String type;
        public Builder() {}
        public Builder(ApiReferenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.brandColor = defaults.brandColor;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.iconUri = defaults.iconUri;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.swagger = defaults.swagger;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder brandColor(@Nullable String brandColor) {

            this.brandColor = brandColor;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder iconUri(@Nullable String iconUri) {

            this.iconUri = iconUri;
            return this;
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder swagger(@Nullable Object swagger) {

            this.swagger = swagger;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public ApiReferenceResponse build() {
            final var _resultValue = new ApiReferenceResponse();
            _resultValue.brandColor = brandColor;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.iconUri = iconUri;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.swagger = swagger;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}