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

com.pulumi.azurenative.managednetworkfabric.outputs.NetworkTapRuleActionResponse 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.managednetworkfabric.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 NetworkTapRuleActionResponse {
    /**
     * @return Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
     * 
     */
    private @Nullable String destinationId;
    /**
     * @return The parameter to enable or disable the timestamp.
     * 
     */
    private @Nullable String isTimestampEnabled;
    /**
     * @return The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
     * 
     */
    private @Nullable String matchConfigurationName;
    /**
     * @return Truncate. 0 indicates do not truncate.
     * 
     */
    private @Nullable String truncate;
    /**
     * @return Type of actions that can be performed.
     * 
     */
    private @Nullable String type;

    private NetworkTapRuleActionResponse() {}
    /**
     * @return Destination Id. The ARM resource Id may be either Network To Network Interconnect or NeighborGroup.
     * 
     */
    public Optional destinationId() {
        return Optional.ofNullable(this.destinationId);
    }
    /**
     * @return The parameter to enable or disable the timestamp.
     * 
     */
    public Optional isTimestampEnabled() {
        return Optional.ofNullable(this.isTimestampEnabled);
    }
    /**
     * @return The name of the match configuration. This is used when Goto type is provided. If Goto type is selected and no match configuration name is provided. It goes to next configuration.
     * 
     */
    public Optional matchConfigurationName() {
        return Optional.ofNullable(this.matchConfigurationName);
    }
    /**
     * @return Truncate. 0 indicates do not truncate.
     * 
     */
    public Optional truncate() {
        return Optional.ofNullable(this.truncate);
    }
    /**
     * @return Type of actions that can be performed.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(NetworkTapRuleActionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String destinationId;
        private @Nullable String isTimestampEnabled;
        private @Nullable String matchConfigurationName;
        private @Nullable String truncate;
        private @Nullable String type;
        public Builder() {}
        public Builder(NetworkTapRuleActionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.destinationId = defaults.destinationId;
    	      this.isTimestampEnabled = defaults.isTimestampEnabled;
    	      this.matchConfigurationName = defaults.matchConfigurationName;
    	      this.truncate = defaults.truncate;
    	      this.type = defaults.type;
        }

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

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

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

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

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

            this.type = type;
            return this;
        }
        public NetworkTapRuleActionResponse build() {
            final var _resultValue = new NetworkTapRuleActionResponse();
            _resultValue.destinationId = destinationId;
            _resultValue.isTimestampEnabled = isTimestampEnabled;
            _resultValue.matchConfigurationName = matchConfigurationName;
            _resultValue.truncate = truncate;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy