@Generated(value="software.amazon.awssdk:codegen") public final class Usage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Usage.Builder,Usage>
Contains usage information about the cost of Amazon Inspector operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Usage.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Usage.Builder |
builder() |
Currency |
currency()
The currency type used when calculating usage data.
|
String |
currencyAsString()
The currency type used when calculating usage data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Double |
estimatedMonthlyCost()
The estimated monthly cost of Amazon Inspector.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Usage.Builder> |
serializableBuilderClass() |
Usage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
total()
The total of usage.
|
UsageType |
type()
The type scan.
|
String |
typeAsString()
The type scan.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Currency currency()
The currency type used when calculating usage data.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic final String currencyAsString()
The currency type used when calculating usage data.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic final Double estimatedMonthlyCost()
The estimated monthly cost of Amazon Inspector.
public final Double total()
The total of usage.
public final UsageType type()
The type scan.
If the service returns an enum value that is not available in the current SDK version, type will return
UsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
UsageTypepublic final String typeAsString()
The type scan.
If the service returns an enum value that is not available in the current SDK version, type will return
UsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
UsageTypepublic Usage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Usage.Builder,Usage>public static Usage.Builder builder()
public static Class<? extends Usage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.