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

com.pulumi.googlenative.monitoring.v1.outputs.TextResponse Maven / Gradle / Ivy

// *** 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.googlenative.monitoring.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class TextResponse {
    /**
     * @return The text content to be displayed.
     * 
     */
    private String content;
    /**
     * @return How the text content is formatted.
     * 
     */
    private String format;

    private TextResponse() {}
    /**
     * @return The text content to be displayed.
     * 
     */
    public String content() {
        return this.content;
    }
    /**
     * @return How the text content is formatted.
     * 
     */
    public String format() {
        return this.format;
    }

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

    public static Builder builder(TextResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String content;
        private String format;
        public Builder() {}
        public Builder(TextResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.content = defaults.content;
    	      this.format = defaults.format;
        }

        @CustomType.Setter
        public Builder content(String content) {
            this.content = Objects.requireNonNull(content);
            return this;
        }
        @CustomType.Setter
        public Builder format(String format) {
            this.format = Objects.requireNonNull(format);
            return this;
        }
        public TextResponse build() {
            final var o = new TextResponse();
            o.content = content;
            o.format = format;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy