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

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

import com.pulumi.aws.iot.inputs.ThingGroupMetadataRootToParentGroupArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ThingGroupMetadataArgs Empty = new ThingGroupMetadataArgs();

    @Import(name="creationDate")
    private @Nullable Output creationDate;

    public Optional> creationDate() {
        return Optional.ofNullable(this.creationDate);
    }

    /**
     * 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);
    }

    @Import(name="rootToParentGroups")
    private @Nullable Output> rootToParentGroups;

    public Optional>> rootToParentGroups() {
        return Optional.ofNullable(this.rootToParentGroups);
    }

    private ThingGroupMetadataArgs() {}

    private ThingGroupMetadataArgs(ThingGroupMetadataArgs $) {
        this.creationDate = $.creationDate;
        this.parentGroupName = $.parentGroupName;
        this.rootToParentGroups = $.rootToParentGroups;
    }

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

    public static final class Builder {
        private ThingGroupMetadataArgs $;

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

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

        public Builder creationDate(@Nullable Output creationDate) {
            $.creationDate = creationDate;
            return this;
        }

        public Builder creationDate(String creationDate) {
            return creationDate(Output.of(creationDate));
        }

        /**
         * @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));
        }

        public Builder rootToParentGroups(@Nullable Output> rootToParentGroups) {
            $.rootToParentGroups = rootToParentGroups;
            return this;
        }

        public Builder rootToParentGroups(List rootToParentGroups) {
            return rootToParentGroups(Output.of(rootToParentGroups));
        }

        public Builder rootToParentGroups(ThingGroupMetadataRootToParentGroupArgs... rootToParentGroups) {
            return rootToParentGroups(List.of(rootToParentGroups));
        }

        public ThingGroupMetadataArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy