trafficType

public abstract UsageMetadata.Builder trafficType(TrafficType trafficType)

Setter for trafficType.

trafficType: Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.


@CanIgnoreReturnValue()
public UsageMetadata.Builder trafficType(TrafficType.Known knownType)

Setter for trafficType given a known enum.

trafficType: Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.


@CanIgnoreReturnValue()
public UsageMetadata.Builder trafficType(String trafficType)

Setter for trafficType given a string.

trafficType: Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.