Class SourceStatistics
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceStatistics.Builder,SourceStatistics>
Revenue statistics for a single AI bot source, including the bot name, revenue amount, request count, and verification status.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringamount()The total revenue amount from this source in the specified currency.static SourceStatistics.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final StringThe value for the group-by dimension, when grouping is applied.final inthashCode()final Stringintent()The declared intent of the AI bot (for example, summarize, index, or train).final StringThe organization associated with the AI bot.final DoubleThe percentage of total revenue from this source.final LongThe number of monetized requests from this source.static Class<? extends SourceStatistics.Builder>final StringThe category of this AI bot source.final StringThe name of the AI bot.final StringtoString()Returns a string representation of this object.final Booleanverified()Indicates whether the AI bot's identity was verified — for example, through a cryptographically signed request (Web Bot Auth) or another published verification method.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
sourceName
The name of the AI bot.
- Returns:
- The name of the AI bot.
-
percentage
The percentage of total revenue from this source.
- Returns:
- The percentage of total revenue from this source.
-
amount
The total revenue amount from this source in the specified currency.
- Returns:
- The total revenue amount from this source in the specified currency.
-
requestCount
The number of monetized requests from this source.
- Returns:
- The number of monetized requests from this source.
-
sourceCategory
The category of this AI bot source.
- Returns:
- The category of this AI bot source.
-
intent
The declared intent of the AI bot (for example, summarize, index, or train).
- Returns:
- The declared intent of the AI bot (for example, summarize, index, or train).
-
organization
The organization associated with the AI bot.
- Returns:
- The organization associated with the AI bot.
-
verified
Indicates whether the AI bot's identity was verified — for example, through a cryptographically signed request (Web Bot Auth) or another published verification method. This value is meaningful only when GroupBy is NAME, where each result represents a single, identifiable bot. For all other GroupBy values (CATEGORY, INTENT, ORGANIZATION, or WEBACL), a result aggregates multiple bots that may have different verification states, so Verified is always returned as false and should be ignored. Type and required-ness are unchanged (Boolean, optional).
- Returns:
- Indicates whether the AI bot's identity was verified — for example, through a cryptographically signed request (Web Bot Auth) or another published verification method. This value is meaningful only when GroupBy is NAME, where each result represents a single, identifiable bot. For all other GroupBy values (CATEGORY, INTENT, ORGANIZATION, or WEBACL), a result aggregates multiple bots that may have different verification states, so Verified is always returned as false and should be ignored. Type and required-ness are unchanged (Boolean, optional).
-
groupByValue
The value for the group-by dimension, when grouping is applied.
- Returns:
- The value for the group-by dimension, when grouping is applied.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceStatistics.Builder,SourceStatistics>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-