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

com.pulumi.azurenative.elastic.outputs.MonitoredResourceResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.elastic.outputs;

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

@CustomType
public final class MonitoredResourceResponse {
    /**
     * @return The ARM id of the resource.
     * 
     */
    private @Nullable String id;
    /**
     * @return Reason for why the resource is sending logs (or why it is not sending).
     * 
     */
    private @Nullable String reasonForLogsStatus;
    /**
     * @return Flag indicating the status of the resource for sending logs operation to Elastic.
     * 
     */
    private @Nullable String sendingLogs;

    private MonitoredResourceResponse() {}
    /**
     * @return The ARM id of the resource.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return Reason for why the resource is sending logs (or why it is not sending).
     * 
     */
    public Optional reasonForLogsStatus() {
        return Optional.ofNullable(this.reasonForLogsStatus);
    }
    /**
     * @return Flag indicating the status of the resource for sending logs operation to Elastic.
     * 
     */
    public Optional sendingLogs() {
        return Optional.ofNullable(this.sendingLogs);
    }

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

    public static Builder builder(MonitoredResourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String id;
        private @Nullable String reasonForLogsStatus;
        private @Nullable String sendingLogs;
        public Builder() {}
        public Builder(MonitoredResourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.reasonForLogsStatus = defaults.reasonForLogsStatus;
    	      this.sendingLogs = defaults.sendingLogs;
        }

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

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

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

            this.sendingLogs = sendingLogs;
            return this;
        }
        public MonitoredResourceResponse build() {
            final var _resultValue = new MonitoredResourceResponse();
            _resultValue.id = id;
            _resultValue.reasonForLogsStatus = reasonForLogsStatus;
            _resultValue.sendingLogs = sendingLogs;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy