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

com.pulumi.azurenative.network.outputs.PacketCaptureMachineScopeResponse Maven / Gradle / Ivy

There is a newer version: 2.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.azurenative.network.outputs;

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

@CustomType
public final class PacketCaptureMachineScopeResponse {
    /**
     * @return List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
     * 
     */
    private @Nullable List exclude;
    /**
     * @return List of AzureVMSS instances to run packet capture on.
     * 
     */
    private @Nullable List include;

    private PacketCaptureMachineScopeResponse() {}
    /**
     * @return List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
     * 
     */
    public List exclude() {
        return this.exclude == null ? List.of() : this.exclude;
    }
    /**
     * @return List of AzureVMSS instances to run packet capture on.
     * 
     */
    public List include() {
        return this.include == null ? List.of() : this.include;
    }

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

    public static Builder builder(PacketCaptureMachineScopeResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List exclude;
        private @Nullable List include;
        public Builder() {}
        public Builder(PacketCaptureMachineScopeResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.exclude = defaults.exclude;
    	      this.include = defaults.include;
        }

        @CustomType.Setter
        public Builder exclude(@Nullable List exclude) {

            this.exclude = exclude;
            return this;
        }
        public Builder exclude(String... exclude) {
            return exclude(List.of(exclude));
        }
        @CustomType.Setter
        public Builder include(@Nullable List include) {

            this.include = include;
            return this;
        }
        public Builder include(String... include) {
            return include(List.of(include));
        }
        public PacketCaptureMachineScopeResponse build() {
            final var _resultValue = new PacketCaptureMachineScopeResponse();
            _resultValue.exclude = exclude;
            _resultValue.include = include;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy