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

com.pulumi.aws.networkmanager.inputs.DeviceState 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.aws.networkmanager.inputs.DeviceAwsLocationArgs;
import com.pulumi.aws.networkmanager.inputs.DeviceLocationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DeviceState Empty = new DeviceState();

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

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

    /**
     * The AWS location of the device. Documented below.
     * 
     */
    @Import(name="awsLocation")
    private @Nullable Output awsLocation;

    /**
     * @return The AWS location of the device. Documented below.
     * 
     */
    public Optional> awsLocation() {
        return Optional.ofNullable(this.awsLocation);
    }

    /**
     * A description of the device.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the device.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * 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 location of the device. Documented below.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The location of the device. Documented below.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

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

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

    /**
     * The serial number of the device.
     * 
     */
    @Import(name="serialNumber")
    private @Nullable Output serialNumber;

    /**
     * @return The serial number of the device.
     * 
     */
    public Optional> serialNumber() {
        return Optional.ofNullable(this.serialNumber);
    }

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

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

    /**
     * Key-value tags for the device. 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 device. 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 type of device.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

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

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

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

    private DeviceState() {}

    private DeviceState(DeviceState $) {
        this.arn = $.arn;
        this.awsLocation = $.awsLocation;
        this.description = $.description;
        this.globalNetworkId = $.globalNetworkId;
        this.location = $.location;
        this.model = $.model;
        this.serialNumber = $.serialNumber;
        this.siteId = $.siteId;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.type = $.type;
        this.vendor = $.vendor;
    }

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

    public static final class Builder {
        private DeviceState $;

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

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

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

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

        /**
         * @param awsLocation The AWS location of the device. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder awsLocation(@Nullable Output awsLocation) {
            $.awsLocation = awsLocation;
            return this;
        }

        /**
         * @param awsLocation The AWS location of the device. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder awsLocation(DeviceAwsLocationArgs awsLocation) {
            return awsLocation(Output.of(awsLocation));
        }

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

        /**
         * @param description A description of the device.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @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 location The location of the device. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location of the device. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder location(DeviceLocationArgs location) {
            return location(Output.of(location));
        }

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

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

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

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

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

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

        /**
         * @param tags Key-value tags for the device. 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 device. 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 type The type of device.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

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

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

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

        public DeviceState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy