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

com.pulumi.aws.networkmanager.outputs.GetDevicesResult 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetDevicesResult {
    private String globalNetworkId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return IDs of the devices.
     * 
     */
    private List ids;
    private @Nullable String siteId;
    private @Nullable Map tags;

    private GetDevicesResult() {}
    public String globalNetworkId() {
        return this.globalNetworkId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return IDs of the devices.
     * 
     */
    public List ids() {
        return this.ids;
    }
    public Optional siteId() {
        return Optional.ofNullable(this.siteId);
    }
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }

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

    public static Builder builder(GetDevicesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String globalNetworkId;
        private String id;
        private List ids;
        private @Nullable String siteId;
        private @Nullable Map tags;
        public Builder() {}
        public Builder(GetDevicesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.globalNetworkId = defaults.globalNetworkId;
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.siteId = defaults.siteId;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder globalNetworkId(String globalNetworkId) {
            if (globalNetworkId == null) {
              throw new MissingRequiredPropertyException("GetDevicesResult", "globalNetworkId");
            }
            this.globalNetworkId = globalNetworkId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetDevicesResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ids(List ids) {
            if (ids == null) {
              throw new MissingRequiredPropertyException("GetDevicesResult", "ids");
            }
            this.ids = ids;
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder siteId(@Nullable String siteId) {

            this.siteId = siteId;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        public GetDevicesResult build() {
            final var _resultValue = new GetDevicesResult();
            _resultValue.globalNetworkId = globalNetworkId;
            _resultValue.id = id;
            _resultValue.ids = ids;
            _resultValue.siteId = siteId;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy