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

com.pulumi.aws.location.inputs.TrackerAssociationState 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.location.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 TrackerAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final TrackerAssociationState Empty = new TrackerAssociationState();

    /**
     * The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
     * 
     */
    @Import(name="consumerArn")
    private @Nullable Output consumerArn;

    /**
     * @return The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
     * 
     */
    public Optional> consumerArn() {
        return Optional.ofNullable(this.consumerArn);
    }

    /**
     * The name of the tracker resource to be associated with a geofence collection.
     * 
     */
    @Import(name="trackerName")
    private @Nullable Output trackerName;

    /**
     * @return The name of the tracker resource to be associated with a geofence collection.
     * 
     */
    public Optional> trackerName() {
        return Optional.ofNullable(this.trackerName);
    }

    private TrackerAssociationState() {}

    private TrackerAssociationState(TrackerAssociationState $) {
        this.consumerArn = $.consumerArn;
        this.trackerName = $.trackerName;
    }

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

    public static final class Builder {
        private TrackerAssociationState $;

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

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

        /**
         * @param consumerArn The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
         * 
         * @return builder
         * 
         */
        public Builder consumerArn(@Nullable Output consumerArn) {
            $.consumerArn = consumerArn;
            return this;
        }

        /**
         * @param consumerArn The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all AWS.
         * 
         * @return builder
         * 
         */
        public Builder consumerArn(String consumerArn) {
            return consumerArn(Output.of(consumerArn));
        }

        /**
         * @param trackerName The name of the tracker resource to be associated with a geofence collection.
         * 
         * @return builder
         * 
         */
        public Builder trackerName(@Nullable Output trackerName) {
            $.trackerName = trackerName;
            return this;
        }

        /**
         * @param trackerName The name of the tracker resource to be associated with a geofence collection.
         * 
         * @return builder
         * 
         */
        public Builder trackerName(String trackerName) {
            return trackerName(Output.of(trackerName));
        }

        public TrackerAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy