Class NetworkTraffic
java.lang.Object
security.whisper.javastix.coo.objects.NetworkTraffic
- All Implemented Interfaces:
Serializable,BundleableObject,Stix,StixCustomProperties,CyberObservableObject,CyberObservableObjectCommonProperties,NetworkTrafficCoo,GenericValidation,SdoDefaultValidator
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class NetworkTraffic
extends Object
implements NetworkTrafficCoo
network-traffic
The Network Traffic Object represents arbitrary network traffic that originates from a source and is addressed to a destination.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkTraffic.Builderbuilder()Creates a builder forNetworkTraffic.static NetworkTrafficcopyOf(NetworkTrafficCoo instance) Creates an immutable copy of aNetworkTrafficCoovalue.booleanThis instance is equal to all instances ofNetworkTrafficthat have equal attribute values.Custom Properties for STIX Objects.Indicates whether the data contained in the SCO has been defanged.getEnd()com.google.common.collect.ImmutableSet<CyberObservableExtension> Multiple extensions can be added, but only 1 instance of a specific extension can be added.com.google.common.collect.ImmutableSet<GranularMarkingDm> booleangetId()Deterministically generates the ID for this network traffic based on source/destination references, ports, and protocols.getIpFix()com.google.common.collect.ImmutableSet<MarkingDefinitionDm> Used for generation of Map Keys byManually set this value if you want to control key names.invalid reference
ObservedDataSdo#getObjects()getStart()getType()inthashCode()Computes a hash code from attributes:start,end,isActive,srcRef,dstRef,srcPort,dstPort,srcByteCount,dstByteCount,srcPackets,dstPackets,ipFix,srcPayloadRef,dstPayloadRef,encapsulatedByRef,id,type,extensions,observableObjectKey,defanged,customProperties,objectMarkingRefs,granularMarkings,hydrated,toJsonString.isActive()toString()Prints the immutable valueNetworkTrafficwith attribute values.final NetworkTrafficwithCustomProperties(Map<String, ? extends Object> entries) Copy the current immutable object by replacing thecustomPropertiesmap with the specified map.final NetworkTrafficwithDefanged(boolean value) Copy the current immutable object by setting a present value for the optionaldefangedattribute.final NetworkTrafficwithDefanged(Optional<Boolean> optional) Copy the current immutable object by setting an optional value for thedefangedattribute.final NetworkTrafficwithDstByteCount(long value) Copy the current immutable object by setting a present value for the optionaldstByteCountattribute.final NetworkTrafficwithDstByteCount(Optional<Long> optional) Copy the current immutable object by setting an optional value for thedstByteCountattribute.final NetworkTrafficwithDstPackets(long value) Copy the current immutable object by setting a present value for the optionaldstPacketsattribute.final NetworkTrafficwithDstPackets(Optional<Long> optional) Copy the current immutable object by setting an optional value for thedstPacketsattribute.final NetworkTrafficwithDstPayloadRef(String value) Copy the current immutable object by setting a present value for the optionaldstPayloadRefattribute.final NetworkTrafficwithDstPayloadRef(Optional<String> optional) Copy the current immutable object by setting an optional value for thedstPayloadRefattribute.final NetworkTrafficwithDstPort(int value) Copy the current immutable object by setting a present value for the optionaldstPortattribute.final NetworkTrafficwithDstPort(Optional<Integer> optional) Copy the current immutable object by setting an optional value for thedstPortattribute.final NetworkTrafficwithDstRef(String value) Copy the current immutable object by setting a present value for the optionaldstRefattribute.final NetworkTrafficwithDstRef(Optional<String> optional) Copy the current immutable object by setting an optional value for thedstRefattribute.final NetworkTrafficwithEncapsulatedByRef(String value) Copy the current immutable object by setting a present value for the optionalencapsulatedByRefattribute.final NetworkTrafficwithEncapsulatedByRef(Optional<String> optional) Copy the current immutable object by setting an optional value for theencapsulatedByRefattribute.final NetworkTrafficwithEnd(Optional<? extends StixInstant> optional) Copy the current immutable object by setting an optional value for theendattribute.final NetworkTrafficwithEnd(StixInstant value) Copy the current immutable object by setting a present value for the optionalendattribute.final NetworkTrafficwithExtensions(Iterable<? extends CyberObservableExtension> elements) Copy the current immutable object with elements that replace the content ofextensions.final NetworkTrafficwithExtensions(CyberObservableExtension... elements) Copy the current immutable object with elements that replace the content ofextensions.final NetworkTrafficwithGranularMarkings(Iterable<? extends GranularMarkingDm> elements) Copy the current immutable object with elements that replace the content ofgranularMarkings.final NetworkTrafficwithGranularMarkings(GranularMarkingDm... elements) Copy the current immutable object with elements that replace the content ofgranularMarkings.final NetworkTrafficwithHydrated(boolean value) Copy the current immutable object by setting a value for thehydratedattribute.final NetworkTrafficCopy the current immutable object by replacing theipFixmap with the specified map.final NetworkTrafficwithIsActive(boolean value) Copy the current immutable object by setting a present value for the optionalisActiveattribute.final NetworkTrafficwithIsActive(Optional<Boolean> optional) Copy the current immutable object by setting an optional value for theisActiveattribute.final NetworkTrafficwithObjectMarkingRefs(Iterable<? extends MarkingDefinitionDm> elements) Copy the current immutable object with elements that replace the content ofobjectMarkingRefs.final NetworkTrafficwithObjectMarkingRefs(MarkingDefinitionDm... elements) Copy the current immutable object with elements that replace the content ofobjectMarkingRefs.final NetworkTrafficwithObservableObjectKey(String value) Copy the current immutable object by setting a value for theobservableObjectKeyattribute.final NetworkTrafficwithSrcByteCount(long value) Copy the current immutable object by setting a present value for the optionalsrcByteCountattribute.final NetworkTrafficwithSrcByteCount(Optional<Long> optional) Copy the current immutable object by setting an optional value for thesrcByteCountattribute.final NetworkTrafficwithSrcPackets(long value) Copy the current immutable object by setting a present value for the optionalsrcPacketsattribute.final NetworkTrafficwithSrcPackets(Optional<Long> optional) Copy the current immutable object by setting an optional value for thesrcPacketsattribute.final NetworkTrafficwithSrcPayloadRef(String value) Copy the current immutable object by setting a present value for the optionalsrcPayloadRefattribute.final NetworkTrafficwithSrcPayloadRef(Optional<String> optional) Copy the current immutable object by setting an optional value for thesrcPayloadRefattribute.final NetworkTrafficwithSrcPort(int value) Copy the current immutable object by setting a present value for the optionalsrcPortattribute.final NetworkTrafficwithSrcPort(Optional<Integer> optional) Copy the current immutable object by setting an optional value for thesrcPortattribute.final NetworkTrafficwithSrcRef(String value) Copy the current immutable object by setting a present value for the optionalsrcRefattribute.final NetworkTrafficwithSrcRef(Optional<String> optional) Copy the current immutable object by setting an optional value for thesrcRefattribute.final NetworkTrafficwithStart(Optional<? extends StixInstant> optional) Copy the current immutable object by setting an optional value for thestartattribute.final NetworkTrafficwithStart(StixInstant value) Copy the current immutable object by setting a present value for the optionalstartattribute.final NetworkTrafficwithToJsonString(String value) Copy the current immutable object by setting a value for thetoJsonStringattribute.final NetworkTrafficCopy the current immutable object by setting a value for thetypeattribute.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface security.whisper.javastix.validation.GenericValidation
validateEntityMethods inherited from interface security.whisper.javastix.coo.objects.NetworkTrafficCoo
getEncapsulatesRefs, getProtocolsMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyId
-
Method Details
-
getStart
@JsonPropertyDescription("Specifies the date/time the network traffic was initiated, if known.") public Optional<StixInstant> getStart()- Specified by:
getStartin interfaceNetworkTrafficCoo- Returns:
- The value of the
startattribute
-
getEnd
@JsonPropertyDescription("Specifies the date/time the network traffic ended, if known.") public Optional<StixInstant> getEnd()- Specified by:
getEndin interfaceNetworkTrafficCoo- Returns:
- The value of the
endattribute
-
isActive
@JsonPropertyDescription("Indicates whether the network traffic is still ongoing.") public Optional<Boolean> isActive()- Specified by:
isActivein interfaceNetworkTrafficCoo- Returns:
- The value of the
isActiveattribute
-
getSrcRef
@JsonPropertyDescription("Specifies the source of the network traffic, as a reference to one or more Observable Objects.") public Optional<String> getSrcRef()- Specified by:
getSrcRefin interfaceNetworkTrafficCoo- Returns:
- The value of the
srcRefattribute
-
getDstRef
@JsonPropertyDescription("Specifies the destination of the network traffic, as a reference to one or more Observable Objects.") public Optional<String> getDstRef()- Specified by:
getDstRefin interfaceNetworkTrafficCoo- Returns:
- The value of the
dstRefattribute
-
getSrcPort
@JsonPropertyDescription("Specifies the source port used in the network traffic, as an integer. The port value MUST be in the range of 0 - 65535.") public Optional<Integer> getSrcPort()- Specified by:
getSrcPortin interfaceNetworkTrafficCoo- Returns:
- The value of the
srcPortattribute
-
getDstPort
@JsonPropertyDescription("Specifies the destination port used in the network traffic, as an integer. The port value MUST be in the range of 0 - 65535.") public Optional<Integer> getDstPort()- Specified by:
getDstPortin interfaceNetworkTrafficCoo- Returns:
- The value of the
dstPortattribute
-
getSrcByteCount
@JsonPropertyDescription("Specifies the number of bytes sent from the source to the destination.") public Optional<Long> getSrcByteCount()- Specified by:
getSrcByteCountin interfaceNetworkTrafficCoo- Returns:
- The value of the
srcByteCountattribute
-
getDstByteCount
@JsonPropertyDescription("Specifies the number of bytes sent from the destination to the source.") public Optional<Long> getDstByteCount()- Specified by:
getDstByteCountin interfaceNetworkTrafficCoo- Returns:
- The value of the
dstByteCountattribute
-
getSrcPackets
@JsonPropertyDescription("Specifies the number of packets sent from the source to the destination.") public Optional<Long> getSrcPackets()- Specified by:
getSrcPacketsin interfaceNetworkTrafficCoo- Returns:
- The value of the
srcPacketsattribute
-
getDstPackets
@JsonPropertyDescription("Specifies the number of packets sent destination to the source.") public Optional<Long> getDstPackets()- Specified by:
getDstPacketsin interfaceNetworkTrafficCoo- Returns:
- The value of the
dstPacketsattribute
-
getIpFix
@JsonPropertyDescription("Specifies any IP Flow Information Export [IPFIX] data for the traffic, as a dictionary.") public com.google.common.collect.ImmutableMap<String,Object> getIpFix()- Specified by:
getIpFixin interfaceNetworkTrafficCoo- Returns:
- The value of the
ipFixattribute
-
getSrcPayloadRef
@JsonPropertyDescription("Specifies the bytes sent from the source to the destination.") public Optional<String> getSrcPayloadRef()- Specified by:
getSrcPayloadRefin interfaceNetworkTrafficCoo- Returns:
- The value of the
srcPayloadRefattribute
-
getDstPayloadRef
@JsonPropertyDescription("Specifies the bytes sent from the source to the destination.") public Optional<String> getDstPayloadRef()- Specified by:
getDstPayloadRefin interfaceNetworkTrafficCoo- Returns:
- The value of the
dstPayloadRefattribute
-
getEncapsulatedByRef
@JsonPropertyDescription("Links to another network-traffic object which encapsulates this object.") public Optional<String> getEncapsulatedByRef()- Specified by:
getEncapsulatedByRefin interfaceNetworkTrafficCoo- Returns:
- The value of the
encapsulatedByRefattribute
-
getId
Deterministically generates the ID for this network traffic based on source/destination references, ports, and protocols.- Specified by:
getIdin interfaceBundleableObject- Specified by:
getIdin interfaceCyberObservableObjectCommonProperties- Specified by:
getIdin interfaceNetworkTrafficCoo
-
getType
- Specified by:
getTypein interfaceBundleableObject- Specified by:
getTypein interfaceCyberObservableObjectCommonProperties- Returns:
- The value of the
typeattribute
-
getExtensions
@JsonPropertyDescription("Specifies any extensions of the object, as a dictionary.") public com.google.common.collect.ImmutableSet<CyberObservableExtension> getExtensions()Multiple extensions can be added, but only 1 instance of a specific extension can be added.- Specified by:
getExtensionsin interfaceCyberObservableObjectCommonProperties
-
getObservableObjectKey
Used for generation of Map Keys byManually set this value if you want to control key names. Otherwise UUIDs will be used.invalid reference
ObservedDataSdo#getObjects()- Specified by:
getObservableObjectKeyin interfaceCyberObservableObjectCommonProperties
-
getDefanged
@JsonPropertyDescription("Indicates whether the data contained in the SCO has been defanged.") public Optional<Boolean> getDefanged()Indicates whether the data contained in the SCO has been defanged. Defanging refers to the process of modifying data to make it safe to handle (e.g., changing an IP address from 192.168.1.1 to 192[.]168[.]1[.]1).- Specified by:
getDefangedin interfaceCyberObservableObjectCommonProperties
-
getCustomProperties
Custom Properties for STIX Objects. Any object that supports custom properties will have a validation of the custom property prefix (typically "x_"). If the additional property in the JSON does not meet the StartsWith condition, then the JSON will be rejected.- Specified by:
getCustomPropertiesin interfaceStixCustomProperties- Returns:
- Map of custom properties
Map<String, Object>
-
getObjectMarkingRefs
- Specified by:
getObjectMarkingRefsin interfaceBundleableObject- Returns:
- The value of the
objectMarkingRefsattribute
-
getGranularMarkings
- Specified by:
getGranularMarkingsin interfaceBundleableObject- Returns:
- The value of the
granularMarkingsattribute
-
getHydrated
public boolean getHydrated()- Specified by:
getHydratedin interfaceBundleableObject- Returns:
- The value of the
hydratedattribute
-
toJsonString
- Specified by:
toJsonStringin interfaceBundleableObject- Returns:
- The value of the
toJsonStringattribute
-
withStart
Copy the current immutable object by setting a present value for the optionalstartattribute.- Parameters:
value- The value for start- Returns:
- A modified copy of
thisobject
-
withStart
Copy the current immutable object by setting an optional value for thestartattribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for start- Returns:
- A modified copy of
thisobject
-
withEnd
Copy the current immutable object by setting a present value for the optionalendattribute.- Parameters:
value- The value for end- Returns:
- A modified copy of
thisobject
-
withEnd
Copy the current immutable object by setting an optional value for theendattribute. A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for end- Returns:
- A modified copy of
thisobject
-
withIsActive
Copy the current immutable object by setting a present value for the optionalisActiveattribute.- Parameters:
value- The value for isActive- Returns:
- A modified copy of
thisobject
-
withIsActive
Copy the current immutable object by setting an optional value for theisActiveattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for isActive- Returns:
- A modified copy of
thisobject
-
withSrcRef
Copy the current immutable object by setting a present value for the optionalsrcRefattribute.- Parameters:
value- The value for srcRef- Returns:
- A modified copy of
thisobject
-
withSrcRef
Copy the current immutable object by setting an optional value for thesrcRefattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for srcRef- Returns:
- A modified copy of
thisobject
-
withDstRef
Copy the current immutable object by setting a present value for the optionaldstRefattribute.- Parameters:
value- The value for dstRef- Returns:
- A modified copy of
thisobject
-
withDstRef
Copy the current immutable object by setting an optional value for thedstRefattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for dstRef- Returns:
- A modified copy of
thisobject
-
withSrcPort
Copy the current immutable object by setting a present value for the optionalsrcPortattribute.- Parameters:
value- The value for srcPort- Returns:
- A modified copy of
thisobject
-
withSrcPort
Copy the current immutable object by setting an optional value for thesrcPortattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for srcPort- Returns:
- A modified copy of
thisobject
-
withDstPort
Copy the current immutable object by setting a present value for the optionaldstPortattribute.- Parameters:
value- The value for dstPort- Returns:
- A modified copy of
thisobject
-
withDstPort
Copy the current immutable object by setting an optional value for thedstPortattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for dstPort- Returns:
- A modified copy of
thisobject
-
withSrcByteCount
Copy the current immutable object by setting a present value for the optionalsrcByteCountattribute.- Parameters:
value- The value for srcByteCount- Returns:
- A modified copy of
thisobject
-
withSrcByteCount
Copy the current immutable object by setting an optional value for thesrcByteCountattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for srcByteCount- Returns:
- A modified copy of
thisobject
-
withDstByteCount
Copy the current immutable object by setting a present value for the optionaldstByteCountattribute.- Parameters:
value- The value for dstByteCount- Returns:
- A modified copy of
thisobject
-
withDstByteCount
Copy the current immutable object by setting an optional value for thedstByteCountattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for dstByteCount- Returns:
- A modified copy of
thisobject
-
withSrcPackets
Copy the current immutable object by setting a present value for the optionalsrcPacketsattribute.- Parameters:
value- The value for srcPackets- Returns:
- A modified copy of
thisobject
-
withSrcPackets
Copy the current immutable object by setting an optional value for thesrcPacketsattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for srcPackets- Returns:
- A modified copy of
thisobject
-
withDstPackets
Copy the current immutable object by setting a present value for the optionaldstPacketsattribute.- Parameters:
value- The value for dstPackets- Returns:
- A modified copy of
thisobject
-
withDstPackets
Copy the current immutable object by setting an optional value for thedstPacketsattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for dstPackets- Returns:
- A modified copy of
thisobject
-
withIpFix
Copy the current immutable object by replacing theipFixmap with the specified map. Nulls are not permitted as keys or values. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
entries- The entries to be added to the ipFix map- Returns:
- A modified copy of
thisobject
-
withSrcPayloadRef
Copy the current immutable object by setting a present value for the optionalsrcPayloadRefattribute.- Parameters:
value- The value for srcPayloadRef- Returns:
- A modified copy of
thisobject
-
withSrcPayloadRef
Copy the current immutable object by setting an optional value for thesrcPayloadRefattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for srcPayloadRef- Returns:
- A modified copy of
thisobject
-
withDstPayloadRef
Copy the current immutable object by setting a present value for the optionaldstPayloadRefattribute.- Parameters:
value- The value for dstPayloadRef- Returns:
- A modified copy of
thisobject
-
withDstPayloadRef
Copy the current immutable object by setting an optional value for thedstPayloadRefattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for dstPayloadRef- Returns:
- A modified copy of
thisobject
-
withEncapsulatedByRef
Copy the current immutable object by setting a present value for the optionalencapsulatedByRefattribute.- Parameters:
value- The value for encapsulatedByRef- Returns:
- A modified copy of
thisobject
-
withEncapsulatedByRef
Copy the current immutable object by setting an optional value for theencapsulatedByRefattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for encapsulatedByRef- Returns:
- A modified copy of
thisobject
-
withType
Copy the current immutable object by setting a value for thetypeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type (can benull)- Returns:
- A modified copy of the
thisobject
-
withExtensions
Copy the current immutable object with elements that replace the content ofextensions.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withExtensions
Copy the current immutable object with elements that replace the content ofextensions. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of extensions elements to set- Returns:
- A modified copy of
thisobject
-
withObservableObjectKey
Copy the current immutable object by setting a value for theobservableObjectKeyattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for observableObjectKey- Returns:
- A modified copy of the
thisobject
-
withDefanged
Copy the current immutable object by setting a present value for the optionaldefangedattribute.- Parameters:
value- The value for defanged- Returns:
- A modified copy of
thisobject
-
withDefanged
Copy the current immutable object by setting an optional value for thedefangedattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for defanged- Returns:
- A modified copy of
thisobject
-
withCustomProperties
Copy the current immutable object by replacing thecustomPropertiesmap with the specified map. Nulls are not permitted as keys or values. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
entries- The entries to be added to the customProperties map- Returns:
- A modified copy of
thisobject
-
withObjectMarkingRefs
Copy the current immutable object with elements that replace the content ofobjectMarkingRefs.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withObjectMarkingRefs
Copy the current immutable object with elements that replace the content ofobjectMarkingRefs. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of objectMarkingRefs elements to set- Returns:
- A modified copy of
thisobject
-
withGranularMarkings
Copy the current immutable object with elements that replace the content ofgranularMarkings.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withGranularMarkings
Copy the current immutable object with elements that replace the content ofgranularMarkings. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of granularMarkings elements to set- Returns:
- A modified copy of
thisobject
-
withHydrated
Copy the current immutable object by setting a value for thehydratedattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for hydrated- Returns:
- A modified copy of the
thisobject
-
withToJsonString
Copy the current immutable object by setting a value for thetoJsonStringattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for toJsonString (can benull)- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofNetworkTrafficthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:start,end,isActive,srcRef,dstRef,srcPort,dstPort,srcByteCount,dstByteCount,srcPackets,dstPackets,ipFix,srcPayloadRef,dstPayloadRef,encapsulatedByRef,id,type,extensions,observableObjectKey,defanged,customProperties,objectMarkingRefs,granularMarkings,hydrated,toJsonString. -
toString
Prints the immutable valueNetworkTrafficwith attribute values. -
copyOf
Creates an immutable copy of aNetworkTrafficCoovalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable NetworkTraffic instance
-
builder
Creates a builder forNetworkTraffic.- Returns:
- A new NetworkTraffic builder
-