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

com.pulumi.aws.oam.outputs.LinkLinkConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.72.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.aws.oam.outputs;

import com.pulumi.aws.oam.outputs.LinkLinkConfigurationLogGroupConfiguration;
import com.pulumi.aws.oam.outputs.LinkLinkConfigurationMetricConfiguration;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LinkLinkConfiguration {
    /**
     * @return Configuration for filtering which log groups are to send log events from the source account to the monitoring account. See `log_group_configuration` Block for details.
     * 
     */
    private @Nullable LinkLinkConfigurationLogGroupConfiguration logGroupConfiguration;
    /**
     * @return Configuration for filtering which metric namespaces are to be shared from the source account to the monitoring account. See `metric_configuration` Block for details.
     * 
     */
    private @Nullable LinkLinkConfigurationMetricConfiguration metricConfiguration;

    private LinkLinkConfiguration() {}
    /**
     * @return Configuration for filtering which log groups are to send log events from the source account to the monitoring account. See `log_group_configuration` Block for details.
     * 
     */
    public Optional logGroupConfiguration() {
        return Optional.ofNullable(this.logGroupConfiguration);
    }
    /**
     * @return Configuration for filtering which metric namespaces are to be shared from the source account to the monitoring account. See `metric_configuration` Block for details.
     * 
     */
    public Optional metricConfiguration() {
        return Optional.ofNullable(this.metricConfiguration);
    }

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

    public static Builder builder(LinkLinkConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable LinkLinkConfigurationLogGroupConfiguration logGroupConfiguration;
        private @Nullable LinkLinkConfigurationMetricConfiguration metricConfiguration;
        public Builder() {}
        public Builder(LinkLinkConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.logGroupConfiguration = defaults.logGroupConfiguration;
    	      this.metricConfiguration = defaults.metricConfiguration;
        }

        @CustomType.Setter
        public Builder logGroupConfiguration(@Nullable LinkLinkConfigurationLogGroupConfiguration logGroupConfiguration) {

            this.logGroupConfiguration = logGroupConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder metricConfiguration(@Nullable LinkLinkConfigurationMetricConfiguration metricConfiguration) {

            this.metricConfiguration = metricConfiguration;
            return this;
        }
        public LinkLinkConfiguration build() {
            final var _resultValue = new LinkLinkConfiguration();
            _resultValue.logGroupConfiguration = logGroupConfiguration;
            _resultValue.metricConfiguration = metricConfiguration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy