Interface ForecastGeofenceEventsRequest.Builder

    • Method Detail

      • collectionName

        ForecastGeofenceEventsRequest.Builder collectionName​(String collectionName)

        The name of the geofence collection.

        Parameters:
        collectionName - The name of the geofence collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeHorizonMinutes

        ForecastGeofenceEventsRequest.Builder timeHorizonMinutes​(Double timeHorizonMinutes)

        Specifies the time horizon in minutes for the forecasted events.

        Parameters:
        timeHorizonMinutes - Specifies the time horizon in minutes for the forecasted events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • distanceUnit

        ForecastGeofenceEventsRequest.Builder distanceUnit​(String distanceUnit)

        The distance unit used for the NearestDistance property returned in a forecasted event. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: Kilometers

        Parameters:
        distanceUnit - The distance unit used for the NearestDistance property returned in a forecasted event. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: Kilometers

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DistanceUnit, DistanceUnit
      • distanceUnit

        ForecastGeofenceEventsRequest.Builder distanceUnit​(DistanceUnit distanceUnit)

        The distance unit used for the NearestDistance property returned in a forecasted event. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: Kilometers

        Parameters:
        distanceUnit - The distance unit used for the NearestDistance property returned in a forecasted event. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: Kilometers

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DistanceUnit, DistanceUnit
      • speedUnit

        ForecastGeofenceEventsRequest.Builder speedUnit​(String speedUnit)

        The speed unit for the device captured by the device state. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: KilometersPerHour.

        Parameters:
        speedUnit - The speed unit for the device captured by the device state. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: KilometersPerHour.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SpeedUnit, SpeedUnit
      • speedUnit

        ForecastGeofenceEventsRequest.Builder speedUnit​(SpeedUnit speedUnit)

        The speed unit for the device captured by the device state. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: KilometersPerHour.

        Parameters:
        speedUnit - The speed unit for the device captured by the device state. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

        Default Value: KilometersPerHour.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SpeedUnit, SpeedUnit
      • nextToken

        ForecastGeofenceEventsRequest.Builder nextToken​(String nextToken)

        The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

        Default value: null

        Parameters:
        nextToken - The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

        Default value: null

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ForecastGeofenceEventsRequest.Builder maxResults​(Integer maxResults)

        An optional limit for the number of resources returned in a single call.

        Default value: 20

        Parameters:
        maxResults - An optional limit for the number of resources returned in a single call.

        Default value: 20

        Returns:
        Returns a reference to this object so that method calls can be chained together.