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

com.pulumi.aws.ec2transitgateway.inputs.PrefixListReferenceState 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.60.0-alpha.1731982519
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.ec2transitgateway.inputs;

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


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

    public static final PrefixListReferenceState Empty = new PrefixListReferenceState();

    /**
     * Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
     * 
     */
    @Import(name="blackhole")
    private @Nullable Output blackhole;

    /**
     * @return Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
     * 
     */
    public Optional> blackhole() {
        return Optional.ofNullable(this.blackhole);
    }

    /**
     * Identifier of EC2 Prefix List.
     * 
     */
    @Import(name="prefixListId")
    private @Nullable Output prefixListId;

    /**
     * @return Identifier of EC2 Prefix List.
     * 
     */
    public Optional> prefixListId() {
        return Optional.ofNullable(this.prefixListId);
    }

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

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

    /**
     * Identifier of EC2 Transit Gateway Attachment.
     * 
     */
    @Import(name="transitGatewayAttachmentId")
    private @Nullable Output transitGatewayAttachmentId;

    /**
     * @return Identifier of EC2 Transit Gateway Attachment.
     * 
     */
    public Optional> transitGatewayAttachmentId() {
        return Optional.ofNullable(this.transitGatewayAttachmentId);
    }

    /**
     * Identifier of EC2 Transit Gateway Route Table.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="transitGatewayRouteTableId")
    private @Nullable Output transitGatewayRouteTableId;

    /**
     * @return Identifier of EC2 Transit Gateway Route Table.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> transitGatewayRouteTableId() {
        return Optional.ofNullable(this.transitGatewayRouteTableId);
    }

    private PrefixListReferenceState() {}

    private PrefixListReferenceState(PrefixListReferenceState $) {
        this.blackhole = $.blackhole;
        this.prefixListId = $.prefixListId;
        this.prefixListOwnerId = $.prefixListOwnerId;
        this.transitGatewayAttachmentId = $.transitGatewayAttachmentId;
        this.transitGatewayRouteTableId = $.transitGatewayRouteTableId;
    }

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

    public static final class Builder {
        private PrefixListReferenceState $;

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

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

        /**
         * @param blackhole Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder blackhole(@Nullable Output blackhole) {
            $.blackhole = blackhole;
            return this;
        }

        /**
         * @param blackhole Indicates whether to drop traffic that matches the Prefix List. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder blackhole(Boolean blackhole) {
            return blackhole(Output.of(blackhole));
        }

        /**
         * @param prefixListId Identifier of EC2 Prefix List.
         * 
         * @return builder
         * 
         */
        public Builder prefixListId(@Nullable Output prefixListId) {
            $.prefixListId = prefixListId;
            return this;
        }

        /**
         * @param prefixListId Identifier of EC2 Prefix List.
         * 
         * @return builder
         * 
         */
        public Builder prefixListId(String prefixListId) {
            return prefixListId(Output.of(prefixListId));
        }

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

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

        /**
         * @param transitGatewayAttachmentId Identifier of EC2 Transit Gateway Attachment.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayAttachmentId(@Nullable Output transitGatewayAttachmentId) {
            $.transitGatewayAttachmentId = transitGatewayAttachmentId;
            return this;
        }

        /**
         * @param transitGatewayAttachmentId Identifier of EC2 Transit Gateway Attachment.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) {
            return transitGatewayAttachmentId(Output.of(transitGatewayAttachmentId));
        }

        /**
         * @param transitGatewayRouteTableId Identifier of EC2 Transit Gateway Route Table.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayRouteTableId(@Nullable Output transitGatewayRouteTableId) {
            $.transitGatewayRouteTableId = transitGatewayRouteTableId;
            return this;
        }

        /**
         * @param transitGatewayRouteTableId Identifier of EC2 Transit Gateway Route Table.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayRouteTableId(String transitGatewayRouteTableId) {
            return transitGatewayRouteTableId(Output.of(transitGatewayRouteTableId));
        }

        public PrefixListReferenceState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy