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

com.pulumi.aws.networkmanager.inputs.AttachmentAccepterState 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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AttachmentAccepterState Empty = new AttachmentAccepterState();

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

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

    /**
     * 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. Valid values can be found in the [AWS Documentation](https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_ListAttachments.html#API_ListAttachments_RequestSyntax)
     * 
     */
    @Import(name="attachmentType")
    private @Nullable Output attachmentType;

    /**
     * @return The type of attachment. Valid values can be found in the [AWS Documentation](https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_ListAttachments.html#API_ListAttachments_RequestSyntax)
     * 
     */
    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.
     * 
     */
    @Import(name="coreNetworkId")
    private @Nullable Output coreNetworkId;

    /**
     * @return The id of a core network.
     * 
     */
    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);
    }

    private AttachmentAccepterState() {}

    private AttachmentAccepterState(AttachmentAccepterState $) {
        this.attachmentId = $.attachmentId;
        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;
    }

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

    public static final class Builder {
        private AttachmentAccepterState $;

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

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

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

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

        /**
         * @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. Valid values can be found in the [AWS Documentation](https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_ListAttachments.html#API_ListAttachments_RequestSyntax)
         * 
         * @return builder
         * 
         */
        public Builder attachmentType(@Nullable Output attachmentType) {
            $.attachmentType = attachmentType;
            return this;
        }

        /**
         * @param attachmentType The type of attachment. Valid values can be found in the [AWS Documentation](https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_ListAttachments.html#API_ListAttachments_RequestSyntax)
         * 
         * @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.
         * 
         * @return builder
         * 
         */
        public Builder coreNetworkId(@Nullable Output coreNetworkId) {
            $.coreNetworkId = coreNetworkId;
            return this;
        }

        /**
         * @param coreNetworkId The id of a core network.
         * 
         * @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));
        }

        public AttachmentAccepterState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy