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

com.pulumi.aws.ec2.inputs.NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs Maven / Gradle / Ivy

// *** 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.ec2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs Empty = new NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs();

    @Import(name="from")
    private @Nullable Output from;

    public Optional> from() {
        return Optional.ofNullable(this.from);
    }

    @Import(name="to")
    private @Nullable Output to;

    public Optional> to() {
        return Optional.ofNullable(this.to);
    }

    private NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs() {}

    private NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs(NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs $) {
        this.from = $.from;
        this.to = $.to;
    }

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

    public static final class Builder {
        private NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs $;

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

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

        public Builder from(@Nullable Output from) {
            $.from = from;
            return this;
        }

        public Builder from(Integer from) {
            return from(Output.of(from));
        }

        public Builder to(@Nullable Output to) {
            $.to = to;
            return this;
        }

        public Builder to(Integer to) {
            return to(Output.of(to));
        }

        public NetworkInsightsAnalysisForwardPathComponentSecurityGroupRulePortRangeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy