// *** 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PolicyTableAssociationState Empty = new PolicyTableAssociationState();

    /**
     * Identifier of the resource
     * 
     */
    @Import(name="resourceId")
    private @Nullable Output<String> resourceId;

    /**
     * @return Identifier of the resource
     * 
     */
    public Optional<Output<String>> resourceId() {
        return Optional.ofNullable(this.resourceId);
    }

    /**
     * Type of the resource
     * 
     */
    @Import(name="resourceType")
    private @Nullable Output<String> resourceType;

    /**
     * @return Type of the resource
     * 
     */
    public Optional<Output<String>> resourceType() {
        return Optional.ofNullable(this.resourceType);
    }

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

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

    /**
     * Identifier of EC2 Transit Gateway Policy Table.
     * 
     */
    @Import(name="transitGatewayPolicyTableId")
    private @Nullable Output<String> transitGatewayPolicyTableId;

    /**
     * @return Identifier of EC2 Transit Gateway Policy Table.
     * 
     */
    public Optional<Output<String>> transitGatewayPolicyTableId() {
        return Optional.ofNullable(this.transitGatewayPolicyTableId);
    }

    private PolicyTableAssociationState() {}

    private PolicyTableAssociationState(PolicyTableAssociationState $) {
        this.resourceId = $.resourceId;
        this.resourceType = $.resourceType;
        this.transitGatewayAttachmentId = $.transitGatewayAttachmentId;
        this.transitGatewayPolicyTableId = $.transitGatewayPolicyTableId;
    }

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

    public static final class Builder {
        private PolicyTableAssociationState $;

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

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

        /**
         * @param resourceId Identifier of the resource
         * 
         * @return builder
         * 
         */
        public Builder resourceId(@Nullable Output<String> resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId Identifier of the resource
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        /**
         * @param resourceType Type of the resource
         * 
         * @return builder
         * 
         */
        public Builder resourceType(@Nullable Output<String> resourceType) {
            $.resourceType = resourceType;
            return this;
        }

        /**
         * @param resourceType Type of the resource
         * 
         * @return builder
         * 
         */
        public Builder resourceType(String resourceType) {
            return resourceType(Output.of(resourceType));
        }

        /**
         * @param transitGatewayAttachmentId Identifier of EC2 Transit Gateway Attachment.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayAttachmentId(@Nullable Output<String> 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 transitGatewayPolicyTableId Identifier of EC2 Transit Gateway Policy Table.
         * 
         * @return builder
         * 
         */
        public Builder transitGatewayPolicyTableId(@Nullable Output<String> transitGatewayPolicyTableId) {
            $.transitGatewayPolicyTableId = transitGatewayPolicyTableId;
            return this;
        }

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

        public PolicyTableAssociationState build() {
            return $;
        }
    }

}
