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

com.pulumi.aws.iot.ThingGroupArgs 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.iot;

import com.pulumi.aws.iot.inputs.ThingGroupPropertiesArgs;
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 ThingGroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final ThingGroupArgs Empty = new ThingGroupArgs();

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

    /**
     * @return The name of the Thing Group.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the parent Thing Group.
     * 
     */
    @Import(name="parentGroupName")
    private @Nullable Output parentGroupName;

    /**
     * @return The name of the parent Thing Group.
     * 
     */
    public Optional> parentGroupName() {
        return Optional.ofNullable(this.parentGroupName);
    }

    /**
     * The Thing Group properties. Defined below.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return The Thing Group properties. Defined below.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Key-value mapping of resource tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value mapping of resource tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ThingGroupArgs() {}

    private ThingGroupArgs(ThingGroupArgs $) {
        this.name = $.name;
        this.parentGroupName = $.parentGroupName;
        this.properties = $.properties;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ThingGroupArgs $;

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

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

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

        /**
         * @param name The name of the Thing Group.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param parentGroupName The name of the parent Thing Group.
         * 
         * @return builder
         * 
         */
        public Builder parentGroupName(@Nullable Output parentGroupName) {
            $.parentGroupName = parentGroupName;
            return this;
        }

        /**
         * @param parentGroupName The name of the parent Thing Group.
         * 
         * @return builder
         * 
         */
        public Builder parentGroupName(String parentGroupName) {
            return parentGroupName(Output.of(parentGroupName));
        }

        /**
         * @param properties The Thing Group properties. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties The Thing Group properties. Defined below.
         * 
         * @return builder
         * 
         */
        public Builder properties(ThingGroupPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param tags Key-value mapping of resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value mapping of resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ThingGroupArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy