public static class

ProtectedCommunicationZone.Builder

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.ProtectedCommunicationZone.Builder

Class Overview

Builder for ProtectedCommunicationZone instances.

Summary

Public Constructors
ProtectedCommunicationZone.Builder()
Creates a new builder instance.
Public Methods
ProtectedCommunicationZone build()
Builds a ProtectedCommunicationZone instance.
ProtectedCommunicationZone.Builder withExpiryTime(Date expiryTime)
Specifies the expiration time.
ProtectedCommunicationZone.Builder withProtectedZoneID(Long protectedZoneID)
Specifies the identifier for the protected zone id.
ProtectedCommunicationZone.Builder withProtectedZoneLatitude(long protectedZoneLatitude)
Specifies the latitude for the protected zone.
ProtectedCommunicationZone.Builder withProtectedZoneLongitude(long protectedZoneLongitude)
Specifies the longitude for the protected zone.
ProtectedCommunicationZone.Builder withProtectedZoneRadius(Long protectedZoneRadius)
Specifies the radius for the protected zone.
ProtectedCommunicationZone.Builder withProtectedZoneType(ProtectedZoneType protectedZoneType)
Specifies the protected zone type.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProtectedCommunicationZone.Builder ()

Creates a new builder instance.

Public Methods

public ProtectedCommunicationZone build ()

Builds a ProtectedCommunicationZone instance.

Returns
  • ProtectedCommunicationZone instance

public ProtectedCommunicationZone.Builder withExpiryTime (Date expiryTime)

Specifies the expiration time.

Parameters
expiryTime expiration time
Returns
  • same builder instance to support chaining

public ProtectedCommunicationZone.Builder withProtectedZoneID (Long protectedZoneID)

Specifies the identifier for the protected zone id.

Parameters
protectedZoneID identifier of the protected zone
Returns
  • same builder instance to support chaining

public ProtectedCommunicationZone.Builder withProtectedZoneLatitude (long protectedZoneLatitude)

Specifies the latitude for the protected zone.

Parameters
protectedZoneLatitude latitude of the protected zone in microdegrees
Returns
  • same builder instance to support chaining

public ProtectedCommunicationZone.Builder withProtectedZoneLongitude (long protectedZoneLongitude)

Specifies the longitude for the protected zone.

Parameters
protectedZoneLongitude longitude of the protected zone in microdegrees
Returns
  • same builder instance to support chaining

public ProtectedCommunicationZone.Builder withProtectedZoneRadius (Long protectedZoneRadius)

Specifies the radius for the protected zone.

Parameters
protectedZoneRadius radius of the protected zone
Returns
  • same builder instance to support chaining

public ProtectedCommunicationZone.Builder withProtectedZoneType (ProtectedZoneType protectedZoneType)

Specifies the protected zone type.

Parameters
protectedZoneType protected zone type
Returns
  • same builder instance to support chaining