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

com.pulumi.aws.networkmanager.inputs.TransitGatewayRouteTableAttachmentState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.networkmanager.inputs;

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


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

    public static final TransitGatewayRouteTableAttachmentState Empty = new TransitGatewayRouteTableAttachmentState();

    /**
     * Attachment Amazon Resource Name (ARN).
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Attachment Amazon Resource Name (ARN).
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The policy rule number associated with the attachment.
     * 
     */
    @Import(name="attachmentPolicyRuleNumber")
    private @Nullable Output attachmentPolicyRuleNumber;

    /**
     * @return The policy rule number associated with the attachment.
     * 
     */
    public Optional> attachmentPolicyRuleNumber() {
        return Optional.ofNullable(this.attachmentPolicyRuleNumber);
    }

    /**
     * The type of attachment.
     * 
     */
    @Import(name="attachmentType")
    private @Nullable Output attachmentType;

    /**
     * @return The type of attachment.
     * 
     */
    public Optional> attachmentType() {
        return Optional.ofNullable(this.attachmentType);
    }

    /**
     * The ARN of the core network.
     * 
     */
    @Import(name="coreNetworkArn")
    private @Nullable Output coreNetworkArn;

    /**
     * @return The ARN of the core network.
     * 
     */
    public Optional> coreNetworkArn() {
        return Optional.ofNullable(this.coreNetworkArn);
    }

    /**
     * The ID of the core network.
     * 
     */
    @Import(name="coreNetworkId")
    private @Nullable Output coreNetworkId;

    /**
     * @return The ID of the core network.
     * 
     */
    public Optional> coreNetworkId() {
        return Optional.ofNullable(this.coreNetworkId);
    }

    /**
     * The edge location for the peer.
     * 
     */
    @Import(name="edgeLocation")
    private @Nullable Output edgeLocation;

    /**
     * @return The edge location for the peer.
     * 
     */
    public Optional> edgeLocation() {
        return Optional.ofNullable(this.edgeLocation);
    }

    /**
     * The ID of the attachment account owner.
     * 
     */
    @Import(name="ownerAccountId")
    private @Nullable Output ownerAccountId;

    /**
     * @return The ID of the attachment account owner.
     * 
     */
    public Optional> ownerAccountId() {
        return Optional.ofNullable(this.ownerAccountId);
    }

    /**
     * The ID of the peer for the attachment.
     * 
     */
    @Import(name="peeringId")
    private @Nullable Output peeringId;

    /**
     * @return The ID of the peer for the attachment.
     * 
     */
    public Optional> peeringId() {
        return Optional.ofNullable(this.peeringId);
    }

    /**
     * The attachment resource ARN.
     * 
     */
    @Import(name="resourceArn")
    private @Nullable Output resourceArn;

    /**
     * @return The attachment resource ARN.
     * 
     */
    public Optional> resourceArn() {
        return Optional.ofNullable(this.resourceArn);
    }

    /**
     * The name of the segment attachment.
     * 
     */
    @Import(name="segmentName")
    private @Nullable Output segmentName;

    /**
     * @return The name of the segment attachment.
     * 
     */
    public Optional> segmentName() {
        return Optional.ofNullable(this.segmentName);
    }

    /**
     * The state of the attachment.
     * 
     */
    @Import(name="state")
    private @Nullable Output state;

    /**
     * @return The state of the attachment.
     * 
     */
    public Optional> state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * The ARN of the transit gateway route table for the attachment.
     * 
     */
    @Import(name="transitGatewayRouteTableArn")
    private @Nullable Output transitGatewayRouteTableArn;

    /**
     * @return The ARN of the transit gateway route table for the attachment.
     * 
     */
    public Optional> transitGatewayRouteTableArn() {
        return Optional.ofNullable(this.transitGatewayRouteTableArn);
    }

    private TransitGatewayRouteTableAttachmentState() {}

    private TransitGatewayRouteTableAttachmentState(TransitGatewayRouteTableAttachmentState $) {
        this.arn = $.arn;
        this.attachmentPolicyRuleNumber = $.attachmentPolicyRuleNumber;
        this.attachmentType = $.attachmentType;
        this.coreNetworkArn = $.coreNetworkArn;
        this.coreNetworkId = $.coreNetworkId;
        this.edgeLocation = $.edgeLocation;
        this.ownerAccountId = $.ownerAccountId;
        this.peeringId = $.peeringId;
        this.resourceArn = $.resourceArn;
        this.segmentName = $.segmentName;
        this.state = $.state;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.transitGatewayRouteTableArn = $.transitGatewayRouteTableArn;
    }

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

    public static final class Builder {
        private TransitGatewayRouteTableAttachmentState $;

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

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

        /**
         * @param arn Attachment Amazon Resource Name (ARN).
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Attachment Amazon Resource Name (ARN).
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param attachmentPolicyRuleNumber The policy rule number associated with the attachment.
         * 
         * @return builder
         * 
         */
        public Builder attachmentPolicyRuleNumber(@Nullable Output attachmentPolicyRuleNumber) {
            $.attachmentPolicyRuleNumber = attachmentPolicyRuleNumber;
            return this;
        }

        /**
         * @param attachmentPolicyRuleNumber The policy rule number associated with the attachment.
         * 
         * @return builder
         * 
         */
        public Builder attachmentPolicyRuleNumber(Integer attachmentPolicyRuleNumber) {
            return attachmentPolicyRuleNumber(Output.of(attachmentPolicyRuleNumber));
        }

        /**
         * @param attachmentType The type of attachment.
         * 
         * @return builder
         * 
         */
        public Builder attachmentType(@Nullable Output attachmentType) {
            $.attachmentType = attachmentType;
            return this;
        }

        /**
         * @param attachmentType The type of attachment.
         * 
         * @return builder
         * 
         */
        public Builder attachmentType(String attachmentType) {
            return attachmentType(Output.of(attachmentType));
        }

        /**
         * @param coreNetworkArn The ARN of the core network.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkArn(@Nullable Output coreNetworkArn) {
            $.coreNetworkArn = coreNetworkArn;
            return this;
        }

        /**
         * @param coreNetworkArn The ARN of the core network.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkArn(String coreNetworkArn) {
            return coreNetworkArn(Output.of(coreNetworkArn));
        }

        /**
         * @param coreNetworkId The ID of the core network.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkId(@Nullable Output coreNetworkId) {
            $.coreNetworkId = coreNetworkId;
            return this;
        }

        /**
         * @param coreNetworkId The ID of the core network.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkId(String coreNetworkId) {
            return coreNetworkId(Output.of(coreNetworkId));
        }

        /**
         * @param edgeLocation The edge location for the peer.
         * 
         * @return builder
         * 
         */
        public Builder edgeLocation(@Nullable Output edgeLocation) {
            $.edgeLocation = edgeLocation;
            return this;
        }

        /**
         * @param edgeLocation The edge location for the peer.
         * 
         * @return builder
         * 
         */
        public Builder edgeLocation(String edgeLocation) {
            return edgeLocation(Output.of(edgeLocation));
        }

        /**
         * @param ownerAccountId The ID of the attachment account owner.
         * 
         * @return builder
         * 
         */
        public Builder ownerAccountId(@Nullable Output ownerAccountId) {
            $.ownerAccountId = ownerAccountId;
            return this;
        }

        /**
         * @param ownerAccountId The ID of the attachment account owner.
         * 
         * @return builder
         * 
         */
        public Builder ownerAccountId(String ownerAccountId) {
            return ownerAccountId(Output.of(ownerAccountId));
        }

        /**
         * @param peeringId The ID of the peer for the attachment.
         * 
         * @return builder
         * 
         */
        public Builder peeringId(@Nullable Output peeringId) {
            $.peeringId = peeringId;
            return this;
        }

        /**
         * @param peeringId The ID of the peer for the attachment.
         * 
         * @return builder
         * 
         */
        public Builder peeringId(String peeringId) {
            return peeringId(Output.of(peeringId));
        }

        /**
         * @param resourceArn The attachment resource ARN.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(@Nullable Output resourceArn) {
            $.resourceArn = resourceArn;
            return this;
        }

        /**
         * @param resourceArn The attachment resource ARN.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(String resourceArn) {
            return resourceArn(Output.of(resourceArn));
        }

        /**
         * @param segmentName The name of the segment attachment.
         * 
         * @return builder
         * 
         */
        public Builder segmentName(@Nullable Output segmentName) {
            $.segmentName = segmentName;
            return this;
        }

        /**
         * @param segmentName The name of the segment attachment.
         * 
         * @return builder
         * 
         */
        public Builder segmentName(String segmentName) {
            return segmentName(Output.of(segmentName));
        }

        /**
         * @param state The state of the attachment.
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output state) {
            $.state = state;
            return this;
        }

        /**
         * @param state The state of the attachment.
         * 
         * @return builder
         * 
         */
        public Builder state(String state) {
            return state(Output.of(state));
        }

        /**
         * @param tags Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value tags for the attachment. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param transitGatewayRouteTableArn The ARN of the transit gateway route table for the attachment.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayRouteTableArn(@Nullable Output transitGatewayRouteTableArn) {
            $.transitGatewayRouteTableArn = transitGatewayRouteTableArn;
            return this;
        }

        /**
         * @param transitGatewayRouteTableArn The ARN of the transit gateway route table for the attachment.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayRouteTableArn(String transitGatewayRouteTableArn) {
            return transitGatewayRouteTableArn(Output.of(transitGatewayRouteTableArn));
        }

        public TransitGatewayRouteTableAttachmentState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy