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

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

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


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

    public static final CustomerGatewayAssociationState Empty = new CustomerGatewayAssociationState();

    /**
     * The Amazon Resource Name (ARN) of the customer gateway.
     * 
     */
    @Import(name="customerGatewayArn")
    private @Nullable Output customerGatewayArn;

    /**
     * @return The Amazon Resource Name (ARN) of the customer gateway.
     * 
     */
    public Optional> customerGatewayArn() {
        return Optional.ofNullable(this.customerGatewayArn);
    }

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

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

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

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

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

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

    private CustomerGatewayAssociationState() {}

    private CustomerGatewayAssociationState(CustomerGatewayAssociationState $) {
        this.customerGatewayArn = $.customerGatewayArn;
        this.deviceId = $.deviceId;
        this.globalNetworkId = $.globalNetworkId;
        this.linkId = $.linkId;
    }

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

    public static final class Builder {
        private CustomerGatewayAssociationState $;

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

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

        /**
         * @param customerGatewayArn The Amazon Resource Name (ARN) of the customer gateway.
         * 
         * @return builder
         * 
         */
        public Builder customerGatewayArn(@Nullable Output customerGatewayArn) {
            $.customerGatewayArn = customerGatewayArn;
            return this;
        }

        /**
         * @param customerGatewayArn The Amazon Resource Name (ARN) of the customer gateway.
         * 
         * @return builder
         * 
         */
        public Builder customerGatewayArn(String customerGatewayArn) {
            return customerGatewayArn(Output.of(customerGatewayArn));
        }

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

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

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

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

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

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

        public CustomerGatewayAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy