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

com.pulumi.aws.ec2.inputs.NetworkInsightsAnalysisExplanationAclRulePortRangeArgs 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.66.3
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.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 NetworkInsightsAnalysisExplanationAclRulePortRangeArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkInsightsAnalysisExplanationAclRulePortRangeArgs Empty = new NetworkInsightsAnalysisExplanationAclRulePortRangeArgs();

    @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 NetworkInsightsAnalysisExplanationAclRulePortRangeArgs() {}

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

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

    public static final class Builder {
        private NetworkInsightsAnalysisExplanationAclRulePortRangeArgs $;

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

        public Builder(NetworkInsightsAnalysisExplanationAclRulePortRangeArgs defaults) {
            $ = new NetworkInsightsAnalysisExplanationAclRulePortRangeArgs(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 NetworkInsightsAnalysisExplanationAclRulePortRangeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy