Class UsageDataSourceResult
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.UsageDataSourceResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UsageDataSourceResult.Builder,UsageDataSourceResult>
@Generated("software.amazon.awssdk:codegen") public final class UsageDataSourceResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsageDataSourceResult.Builder,UsageDataSourceResult>
Contains information on the result of usage based on data source type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUsageDataSourceResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageDataSourceResult.Builderbuilder()DataSourcedataSource()The data source type that generated usage.StringdataSourceAsString()The data source type that generated usage.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UsageDataSourceResult.Builder>serializableBuilderClass()UsageDataSourceResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.Totaltotal()Represents the total of usage for the specified data source.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dataSource
public final DataSource dataSource()
The data source type that generated usage.
If the service returns an enum value that is not available in the current SDK version,
dataSourcewill returnDataSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataSourceAsString().- Returns:
- The data source type that generated usage.
- See Also:
DataSource
-
dataSourceAsString
public final String dataSourceAsString()
The data source type that generated usage.
If the service returns an enum value that is not available in the current SDK version,
dataSourcewill returnDataSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataSourceAsString().- Returns:
- The data source type that generated usage.
- See Also:
DataSource
-
total
public final Total total()
Represents the total of usage for the specified data source.
- Returns:
- Represents the total of usage for the specified data source.
-
toBuilder
public UsageDataSourceResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UsageDataSourceResult.Builder,UsageDataSourceResult>
-
builder
public static UsageDataSourceResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends UsageDataSourceResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-