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

com.pulumi.aws.appmesh.inputs.VirtualNodeSpecLoggingArgs Maven / Gradle / Ivy

Go to download

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

The 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.appmesh.inputs;

import com.pulumi.aws.appmesh.inputs.VirtualNodeSpecLoggingAccessLogArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VirtualNodeSpecLoggingArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualNodeSpecLoggingArgs Empty = new VirtualNodeSpecLoggingArgs();

    /**
     * Access log configuration for a virtual node.
     * 
     */
    @Import(name="accessLog")
    private @Nullable Output accessLog;

    /**
     * @return Access log configuration for a virtual node.
     * 
     */
    public Optional> accessLog() {
        return Optional.ofNullable(this.accessLog);
    }

    private VirtualNodeSpecLoggingArgs() {}

    private VirtualNodeSpecLoggingArgs(VirtualNodeSpecLoggingArgs $) {
        this.accessLog = $.accessLog;
    }

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

    public static final class Builder {
        private VirtualNodeSpecLoggingArgs $;

        public Builder() {
            $ = new VirtualNodeSpecLoggingArgs();
        }

        public Builder(VirtualNodeSpecLoggingArgs defaults) {
            $ = new VirtualNodeSpecLoggingArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param accessLog Access log configuration for a virtual node.
         * 
         * @return builder
         * 
         */
        public Builder accessLog(@Nullable Output accessLog) {
            $.accessLog = accessLog;
            return this;
        }

        /**
         * @param accessLog Access log configuration for a virtual node.
         * 
         * @return builder
         * 
         */
        public Builder accessLog(VirtualNodeSpecLoggingAccessLogArgs accessLog) {
            return accessLog(Output.of(accessLog));
        }

        public VirtualNodeSpecLoggingArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy