Class GeofenceCollection.Builder

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

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

    • create

      @Stability(Experimental) public static GeofenceCollection.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of GeofenceCollection.Builder.
    • description

      @Stability(Experimental) public GeofenceCollection.Builder description(String description)
      (experimental) A description for the geofence collection.

      Default: - no description

      Parameters:
      description - A description for the geofence collection. This parameter is required.
      Returns:
      this
    • geofenceCollectionName

      @Stability(Experimental) public GeofenceCollection.Builder geofenceCollectionName(String geofenceCollectionName)
      (experimental) A name for the geofence collection.

      Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, periods and underscores.

      Default: - A name is automatically generated

      Parameters:
      geofenceCollectionName - A name for the geofence collection. This parameter is required.
      Returns:
      this
    • kmsKey

      @Stability(Experimental) public GeofenceCollection.Builder kmsKey(IKey kmsKey)
      (experimental) The customer managed to encrypt your data.

      Default: - Use an AWS managed key

      Parameters:
      kmsKey - The customer managed to encrypt your data. This parameter is required.
      Returns:
      this
      See Also:
    • build

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