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

com.pulumi.aws.networkmanager.inputs.SiteToSiteVpnAttachmentState 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.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 SiteToSiteVpnAttachmentState extends com.pulumi.resources.ResourceArgs {

    public static final SiteToSiteVpnAttachmentState Empty = new SiteToSiteVpnAttachmentState();

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

    /**
     * @return The ARN of the attachment.
     * 
     */
    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 a core network.
     * 
     */
    @Import(name="coreNetworkArn")
    private @Nullable Output coreNetworkArn;

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

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

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

    /**
     * The Region where the edge is located.
     * 
     */
    @Import(name="edgeLocation")
    private @Nullable Output edgeLocation;

    /**
     * @return The Region where the edge is located.
     * 
     */
    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 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 site-to-site VPN connection.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="vpnConnectionArn")
    private @Nullable Output vpnConnectionArn;

    /**
     * @return The ARN of the site-to-site VPN connection.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> vpnConnectionArn() {
        return Optional.ofNullable(this.vpnConnectionArn);
    }

    private SiteToSiteVpnAttachmentState() {}

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

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

    public static final class Builder {
        private SiteToSiteVpnAttachmentState $;

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

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

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

        /**
         * @param arn The ARN of the attachment.
         * 
         * @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 a core network.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkArn(@Nullable Output coreNetworkArn) {
            $.coreNetworkArn = coreNetworkArn;
            return this;
        }

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

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

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

        /**
         * @param edgeLocation The Region where the edge is located.
         * 
         * @return builder
         * 
         */
        public Builder edgeLocation(@Nullable Output edgeLocation) {
            $.edgeLocation = edgeLocation;
            return this;
        }

        /**
         * @param edgeLocation The Region where the edge is located.
         * 
         * @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 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 vpnConnectionArn The ARN of the site-to-site VPN connection.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder vpnConnectionArn(@Nullable Output vpnConnectionArn) {
            $.vpnConnectionArn = vpnConnectionArn;
            return this;
        }

        /**
         * @param vpnConnectionArn The ARN of the site-to-site VPN connection.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder vpnConnectionArn(String vpnConnectionArn) {
            return vpnConnectionArn(Output.of(vpnConnectionArn));
        }

        public SiteToSiteVpnAttachmentState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy