@Generated(value="software.amazon.awssdk:codegen") public final class CatalogItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CatalogItem.Builder,CatalogItem>
Information about a catalog item.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CatalogItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CatalogItem.Builder |
builder() |
String |
catalogItemId()
The ID of the catalog item.
|
List<EC2Capacity> |
ec2Capacities()
Information about the EC2 capacity of an item.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEc2Capacities()
For responses, this returns true if the service returned a value for the EC2Capacities property.
|
int |
hashCode() |
boolean |
hasSupportedStorage()
For responses, this returns true if the service returned a value for the SupportedStorage property.
|
boolean |
hasSupportedUplinkGbps()
For responses, this returns true if the service returned a value for the SupportedUplinkGbps property.
|
CatalogItemStatus |
itemStatus()
The status of a catalog item.
|
String |
itemStatusAsString()
The status of a catalog item.
|
Float |
powerKva()
Information about the power draw of an item.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CatalogItem.Builder> |
serializableBuilderClass() |
List<SupportedStorageEnum> |
supportedStorage()
The supported storage options for the catalog item.
|
List<String> |
supportedStorageAsStrings()
The supported storage options for the catalog item.
|
List<Integer> |
supportedUplinkGbps()
The uplink speed this catalog item requires for the connection to the Region.
|
CatalogItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
weightLbs()
The weight of the item in pounds.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String catalogItemId()
The ID of the catalog item.
public final CatalogItemStatus itemStatus()
The status of a catalog item.
If the service returns an enum value that is not available in the current SDK version, itemStatus will
return CatalogItemStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
itemStatusAsString().
CatalogItemStatuspublic final String itemStatusAsString()
The status of a catalog item.
If the service returns an enum value that is not available in the current SDK version, itemStatus will
return CatalogItemStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
itemStatusAsString().
CatalogItemStatuspublic final boolean hasEc2Capacities()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<EC2Capacity> ec2Capacities()
Information about the EC2 capacity of an item.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2Capacities() method.
public final Float powerKva()
Information about the power draw of an item.
public final Integer weightLbs()
The weight of the item in pounds.
public final boolean hasSupportedUplinkGbps()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Integer> supportedUplinkGbps()
The uplink speed this catalog item requires for the connection to the Region.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedUplinkGbps() method.
public final List<SupportedStorageEnum> supportedStorage()
The supported storage options for the catalog item.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedStorage() method.
public final boolean hasSupportedStorage()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> supportedStorageAsStrings()
The supported storage options for the catalog item.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedStorage() method.
public CatalogItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CatalogItem.Builder,CatalogItem>public static CatalogItem.Builder builder()
public static Class<? extends CatalogItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.