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

com.pulumi.aws.location.inputs.GetTrackerAssociationArgs 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.location.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetTrackerAssociationArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTrackerAssociationArgs Empty = new GetTrackerAssociationArgs();

    /**
     * ARN of the geofence collection associated to tracker resource.
     * 
     */
    @Import(name="consumerArn", required=true)
    private Output consumerArn;

    /**
     * @return ARN of the geofence collection associated to tracker resource.
     * 
     */
    public Output consumerArn() {
        return this.consumerArn;
    }

    /**
     * Name of the tracker resource associated with a geofence collection.
     * 
     */
    @Import(name="trackerName", required=true)
    private Output trackerName;

    /**
     * @return Name of the tracker resource associated with a geofence collection.
     * 
     */
    public Output trackerName() {
        return this.trackerName;
    }

    private GetTrackerAssociationArgs() {}

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

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

    public static final class Builder {
        private GetTrackerAssociationArgs $;

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

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

        /**
         * @param consumerArn ARN of the geofence collection associated to tracker resource.
         * 
         * @return builder
         * 
         */
        public Builder consumerArn(Output consumerArn) {
            $.consumerArn = consumerArn;
            return this;
        }

        /**
         * @param consumerArn ARN of the geofence collection associated to tracker resource.
         * 
         * @return builder
         * 
         */
        public Builder consumerArn(String consumerArn) {
            return consumerArn(Output.of(consumerArn));
        }

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

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

        public GetTrackerAssociationArgs build() {
            if ($.consumerArn == null) {
                throw new MissingRequiredPropertyException("GetTrackerAssociationArgs", "consumerArn");
            }
            if ($.trackerName == null) {
                throw new MissingRequiredPropertyException("GetTrackerAssociationArgs", "trackerName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy