Class CfnTrackerConsumer.Builder

java.lang.Object
software.amazon.awscdk.services.location.CfnTrackerConsumer.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrackerConsumer>
Enclosing class:
CfnTrackerConsumer

@Stability(Stable) public static final class CfnTrackerConsumer.Builder extends Object implements software.amazon.jsii.Builder<CfnTrackerConsumer>
A fluent builder for CfnTrackerConsumer.
  • Method Details

    • create

      @Stability(Stable) public static CfnTrackerConsumer.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnTrackerConsumer.Builder.
    • consumerArn

      @Stability(Stable) public CfnTrackerConsumer.Builder consumerArn(String 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 .

      • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

      Parameters:
      consumerArn - The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. This parameter is required.
      Returns:
      this
    • trackerName

      @Stability(Stable) public CfnTrackerConsumer.Builder trackerName(String trackerName)
      The name for the tracker resource.

      Requirements:

      • Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).
      • Must be a unique tracker resource name.
      • No spaces allowed. For example, ExampleTracker .

      Parameters:
      trackerName - The name for the tracker resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnTrackerConsumer build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTrackerConsumer>
      Returns:
      a newly built instance of CfnTrackerConsumer.