Class OfferingStatus
- java.lang.Object
-
- software.amazon.awssdk.services.devicefarm.model.OfferingStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OfferingStatus.Builder,OfferingStatus>
@Generated("software.amazon.awssdk:codegen") public final class OfferingStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OfferingStatus.Builder,OfferingStatus>
The status of the offering.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOfferingStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OfferingStatus.Builderbuilder()InstanteffectiveOn()The date on which the offering is effective.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Offeringoffering()Represents the metadata of an offering status.Integerquantity()The number of available devices in the offering.List<SdkField<?>>sdkFields()static Class<? extends OfferingStatus.Builder>serializableBuilderClass()OfferingStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.OfferingTransactionTypetype()The type specified for the offering status.StringtypeAsString()The type specified for the offering status.-
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
-
type
public final OfferingTransactionType type()
The type specified for the offering status.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOfferingTransactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type specified for the offering status.
- See Also:
OfferingTransactionType
-
typeAsString
public final String typeAsString()
The type specified for the offering status.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOfferingTransactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type specified for the offering status.
- See Also:
OfferingTransactionType
-
offering
public final Offering offering()
Represents the metadata of an offering status.
- Returns:
- Represents the metadata of an offering status.
-
quantity
public final Integer quantity()
The number of available devices in the offering.
- Returns:
- The number of available devices in the offering.
-
effectiveOn
public final Instant effectiveOn()
The date on which the offering is effective.
- Returns:
- The date on which the offering is effective.
-
toBuilder
public OfferingStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OfferingStatus.Builder,OfferingStatus>
-
builder
public static OfferingStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends OfferingStatus.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.
-
-