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

com.pulumi.alicloud.vpc.inputs.NetworkAclEntriesEgressArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.vpc.inputs;

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


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

    public static final NetworkAclEntriesEgressArgs Empty = new NetworkAclEntriesEgressArgs();

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

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

    /**
     * The destination ip of the egress entry.
     * 
     */
    @Import(name="destinationCidrIp")
    private @Nullable Output destinationCidrIp;

    /**
     * @return The destination ip of the egress entry.
     * 
     */
    public Optional> destinationCidrIp() {
        return Optional.ofNullable(this.destinationCidrIp);
    }

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

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

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

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

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

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

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

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

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

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

    private NetworkAclEntriesEgressArgs() {}

    private NetworkAclEntriesEgressArgs(NetworkAclEntriesEgressArgs $) {
        this.description = $.description;
        this.destinationCidrIp = $.destinationCidrIp;
        this.entryType = $.entryType;
        this.name = $.name;
        this.policy = $.policy;
        this.port = $.port;
        this.protocol = $.protocol;
    }

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

    public static final class Builder {
        private NetworkAclEntriesEgressArgs $;

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

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

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

        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param destinationCidrIp The destination ip of the egress entry.
         * 
         * @return builder
         * 
         */
        public Builder destinationCidrIp(@Nullable Output destinationCidrIp) {
            $.destinationCidrIp = destinationCidrIp;
            return this;
        }

        /**
         * @param destinationCidrIp The destination ip of the egress entry.
         * 
         * @return builder
         * 
         */
        public Builder destinationCidrIp(String destinationCidrIp) {
            return destinationCidrIp(Output.of(destinationCidrIp));
        }

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

        public Builder entryType(String entryType) {
            return entryType(Output.of(entryType));
        }

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

        public Builder name(String name) {
            return name(Output.of(name));
        }

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

        public Builder policy(String policy) {
            return policy(Output.of(policy));
        }

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

        public Builder port(String port) {
            return port(Output.of(port));
        }

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

        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        public NetworkAclEntriesEgressArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy