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

com.pulumi.azurenative.cloudngfw.outputs.LogDestinationResponse 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.cloudngfw.outputs;

import com.pulumi.azurenative.cloudngfw.outputs.EventHubResponse;
import com.pulumi.azurenative.cloudngfw.outputs.MonitorLogResponse;
import com.pulumi.azurenative.cloudngfw.outputs.StorageAccountResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LogDestinationResponse {
    /**
     * @return Event Hub configurations
     * 
     */
    private @Nullable EventHubResponse eventHubConfigurations;
    /**
     * @return Monitor Log configurations
     * 
     */
    private @Nullable MonitorLogResponse monitorConfigurations;
    /**
     * @return Storage account configurations
     * 
     */
    private @Nullable StorageAccountResponse storageConfigurations;

    private LogDestinationResponse() {}
    /**
     * @return Event Hub configurations
     * 
     */
    public Optional eventHubConfigurations() {
        return Optional.ofNullable(this.eventHubConfigurations);
    }
    /**
     * @return Monitor Log configurations
     * 
     */
    public Optional monitorConfigurations() {
        return Optional.ofNullable(this.monitorConfigurations);
    }
    /**
     * @return Storage account configurations
     * 
     */
    public Optional storageConfigurations() {
        return Optional.ofNullable(this.storageConfigurations);
    }

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

    public static Builder builder(LogDestinationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable EventHubResponse eventHubConfigurations;
        private @Nullable MonitorLogResponse monitorConfigurations;
        private @Nullable StorageAccountResponse storageConfigurations;
        public Builder() {}
        public Builder(LogDestinationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.eventHubConfigurations = defaults.eventHubConfigurations;
    	      this.monitorConfigurations = defaults.monitorConfigurations;
    	      this.storageConfigurations = defaults.storageConfigurations;
        }

        @CustomType.Setter
        public Builder eventHubConfigurations(@Nullable EventHubResponse eventHubConfigurations) {

            this.eventHubConfigurations = eventHubConfigurations;
            return this;
        }
        @CustomType.Setter
        public Builder monitorConfigurations(@Nullable MonitorLogResponse monitorConfigurations) {

            this.monitorConfigurations = monitorConfigurations;
            return this;
        }
        @CustomType.Setter
        public Builder storageConfigurations(@Nullable StorageAccountResponse storageConfigurations) {

            this.storageConfigurations = storageConfigurations;
            return this;
        }
        public LogDestinationResponse build() {
            final var _resultValue = new LogDestinationResponse();
            _resultValue.eventHubConfigurations = eventHubConfigurations;
            _resultValue.monitorConfigurations = monitorConfigurations;
            _resultValue.storageConfigurations = storageConfigurations;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy