ReportRecordContractInner Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. fluent. models. ReportRecordContractInner
- com.
public final class ReportRecordContractInner
Report data.
Constructor Summary
Constructor | Description |
---|---|
ReportRecordContractInner() |
Creates an instance of Report |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
apiId()
Get the api |
String |
apiRegion()
Get the api |
Double |
apiTimeAvg()
Get the api |
Double |
apiTimeMax()
Get the api |
Double |
apiTimeMin()
Get the api |
Long |
bandwidth()
Get the bandwidth property: Bandwidth consumed. |
Integer |
cacheHitCount()
Get the cache |
Integer |
cacheMissCount()
Get the cache |
Integer |
callCountBlocked()
Get the call |
Integer |
callCountFailed()
Get the call |
Integer |
callCountOther()
Get the call |
Integer |
callCountSuccess()
Get the call |
Integer |
callCountTotal()
Get the call |
String |
country()
Get the country property: Country to which this record data is related. |
String |
interval()
Get the interval property: Length of aggregation period. |
String |
name()
Get the name property: Name depending on report endpoint specifies product, API, operation or developer name. |
String |
operationId()
Get the operation |
String |
productId()
Get the product |
String |
region()
Get the region property: Country region to which this record data is related. |
Double |
serviceTimeAvg()
Get the service |
Double |
serviceTimeMax()
Get the service |
Double |
serviceTimeMin()
Get the service |
String |
subscriptionId()
Get the subscription |
Offset |
timestamp()
Get the timestamp property: Start of aggregation period. |
String |
userId()
Get the user |
void |
validate()
Validates the instance. |
Report |
withApiId(String apiId)
Set the api |
Report |
withApiRegion(String apiRegion)
Set the api |
Report |
withApiTimeAvg(Double apiTimeAvg)
Set the api |
Report |
withApiTimeMax(Double apiTimeMax)
Set the api |
Report |
withApiTimeMin(Double apiTimeMin)
Set the api |
Report |
withBandwidth(Long bandwidth)
Set the bandwidth property: Bandwidth consumed. |
Report |
withCacheHitCount(Integer cacheHitCount)
Set the cache |
Report |
withCacheMissCount(Integer cacheMissCount)
Set the cache |
Report |
withCallCountBlocked(Integer callCountBlocked)
Set the call |
Report |
withCallCountFailed(Integer callCountFailed)
Set the call |
Report |
withCallCountOther(Integer callCountOther)
Set the call |
Report |
withCallCountSuccess(Integer callCountSuccess)
Set the call |
Report |
withCallCountTotal(Integer callCountTotal)
Set the call |
Report |
withCountry(String country)
Set the country property: Country to which this record data is related. |
Report |
withInterval(String interval)
Set the interval property: Length of aggregation period. |
Report |
withName(String name)
Set the name property: Name depending on report endpoint specifies product, API, operation or developer name. |
Report |
withOperationId(String operationId)
Set the operation |
Report |
withRegion(String region)
Set the region property: Country region to which this record data is related. |
Report |
withServiceTimeAvg(Double serviceTimeAvg)
Set the service |
Report |
withServiceTimeMax(Double serviceTimeMax)
Set the service |
Report |
withServiceTimeMin(Double serviceTimeMin)
Set the service |
Report |
withSubscriptionId(String subscriptionId)
Set the subscription |
Report |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Start of aggregation period. |
Report |
withZip(String zip)
Set the zip property: Zip code to which this record data is related. |
String |
zip()
Get the zip property: Zip code to which this record data is related. |
Methods inherited from java.lang.Object
Constructor Details
ReportRecordContractInner
public ReportRecordContractInner()
Creates an instance of ReportRecordContractInner class.
Method Details
apiId
public String apiId()
Get the apiId property: API identifier path. /apis/{apiId}.
Returns:
apiRegion
public String apiRegion()
Get the apiRegion property: API region identifier.
Returns:
apiTimeAvg
public Double apiTimeAvg()
Get the apiTimeAvg property: Average time it took to process request.
Returns:
apiTimeMax
public Double apiTimeMax()
Get the apiTimeMax property: Maximum time it took to process request.
Returns:
apiTimeMin
public Double apiTimeMin()
Get the apiTimeMin property: Minimum time it took to process request.
Returns:
bandwidth
public Long bandwidth()
Get the bandwidth property: Bandwidth consumed.
Returns:
cacheHitCount
public Integer cacheHitCount()
Get the cacheHitCount property: Number of times when content was served from cache policy.
Returns:
cacheMissCount
public Integer cacheMissCount()
Get the cacheMissCount property: Number of times content was fetched from backend.
Returns:
callCountBlocked
public Integer callCountBlocked()
Get the callCountBlocked property: Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests.
Returns:
callCountFailed
public Integer callCountFailed()
Get the callCountFailed property: Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600.
Returns:
callCountOther
public Integer callCountOther()
Get the callCountOther property: Number of other calls.
Returns:
callCountSuccess
public Integer callCountSuccess()
Get the callCountSuccess property: Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect.
Returns:
callCountTotal
public Integer callCountTotal()
Get the callCountTotal property: Total number of calls.
Returns:
country
public String country()
Get the country property: Country to which this record data is related.
Returns:
interval
public String interval()
Get the interval property: Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO\_8601\#Durations).
Returns:
name
public String name()
Get the name property: Name depending on report endpoint specifies product, API, operation or developer name.
Returns:
operationId
public String operationId()
Get the operationId property: Operation identifier path. /apis/{apiId}/operations/{operationId}.
Returns:
productId
public String productId()
Get the productId property: Product identifier path. /products/{productId}.
Returns:
region
public String region()
Get the region property: Country region to which this record data is related.
Returns:
serviceTimeAvg
public Double serviceTimeAvg()
Get the serviceTimeAvg property: Average time it took to process request on backend.
Returns:
serviceTimeMax
public Double serviceTimeMax()
Get the serviceTimeMax property: Maximum time it took to process request on backend.
Returns:
serviceTimeMin
public Double serviceTimeMin()
Get the serviceTimeMin property: Minimum time it took to process request on backend.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Subscription identifier path. /subscriptions/{subscriptionId}.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Returns:
userId
public String userId()
Get the userId property: User identifier path. /users/{userId}.
Returns:
validate
public void validate()
Validates the instance.
withApiId
public ReportRecordContractInner withApiId(String apiId)
Set the apiId property: API identifier path. /apis/{apiId}.
Parameters:
Returns:
withApiRegion
public ReportRecordContractInner withApiRegion(String apiRegion)
Set the apiRegion property: API region identifier.
Parameters:
Returns:
withApiTimeAvg
public ReportRecordContractInner withApiTimeAvg(Double apiTimeAvg)
Set the apiTimeAvg property: Average time it took to process request.
Parameters:
Returns:
withApiTimeMax
public ReportRecordContractInner withApiTimeMax(Double apiTimeMax)
Set the apiTimeMax property: Maximum time it took to process request.
Parameters:
Returns:
withApiTimeMin
public ReportRecordContractInner withApiTimeMin(Double apiTimeMin)
Set the apiTimeMin property: Minimum time it took to process request.
Parameters:
Returns:
withBandwidth
public ReportRecordContractInner withBandwidth(Long bandwidth)
Set the bandwidth property: Bandwidth consumed.
Parameters:
Returns:
withCacheHitCount
public ReportRecordContractInner withCacheHitCount(Integer cacheHitCount)
Set the cacheHitCount property: Number of times when content was served from cache policy.
Parameters:
Returns:
withCacheMissCount
public ReportRecordContractInner withCacheMissCount(Integer cacheMissCount)
Set the cacheMissCount property: Number of times content was fetched from backend.
Parameters:
Returns:
withCallCountBlocked
public ReportRecordContractInner withCallCountBlocked(Integer callCountBlocked)
Set the callCountBlocked property: Number of calls blocked due to invalid credentials. This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests.
Parameters:
Returns:
withCallCountFailed
public ReportRecordContractInner withCallCountFailed(Integer callCountFailed)
Set the callCountFailed property: Number of calls failed due to gateway or backend errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600.
Parameters:
Returns:
withCallCountOther
public ReportRecordContractInner withCallCountOther(Integer callCountOther)
Set the callCountOther property: Number of other calls.
Parameters:
Returns:
withCallCountSuccess
public ReportRecordContractInner withCallCountSuccess(Integer callCountSuccess)
Set the callCountSuccess property: Number of successful calls. This includes calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect.
Parameters:
Returns:
withCallCountTotal
public ReportRecordContractInner withCallCountTotal(Integer callCountTotal)
Set the callCountTotal property: Total number of calls.
Parameters:
Returns:
withCountry
public ReportRecordContractInner withCountry(String country)
Set the country property: Country to which this record data is related.
Parameters:
Returns:
withInterval
public ReportRecordContractInner withInterval(String interval)
Set the interval property: Length of aggregation period. Interval must be multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO\_8601\#Durations).
Parameters:
Returns:
withName
public ReportRecordContractInner withName(String name)
Set the name property: Name depending on report endpoint specifies product, API, operation or developer name.
Parameters:
Returns:
withOperationId
public ReportRecordContractInner withOperationId(String operationId)
Set the operationId property: Operation identifier path. /apis/{apiId}/operations/{operationId}.
Parameters:
Returns:
withRegion
public ReportRecordContractInner withRegion(String region)
Set the region property: Country region to which this record data is related.
Parameters:
Returns:
withServiceTimeAvg
public ReportRecordContractInner withServiceTimeAvg(Double serviceTimeAvg)
Set the serviceTimeAvg property: Average time it took to process request on backend.
Parameters:
Returns:
withServiceTimeMax
public ReportRecordContractInner withServiceTimeMax(Double serviceTimeMax)
Set the serviceTimeMax property: Maximum time it took to process request on backend.
Parameters:
Returns:
withServiceTimeMin
public ReportRecordContractInner withServiceTimeMin(Double serviceTimeMin)
Set the serviceTimeMin property: Minimum time it took to process request on backend.
Parameters:
Returns:
withSubscriptionId
public ReportRecordContractInner withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Subscription identifier path. /subscriptions/{subscriptionId}.
Parameters:
Returns:
withTimestamp
public ReportRecordContractInner withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Start of aggregation period. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Parameters:
Returns:
withZip
public ReportRecordContractInner withZip(String zip)
Set the zip property: Zip code to which this record data is related.
Parameters:
Returns:
zip
public String zip()
Get the zip property: Zip code to which this record data is related.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for