@Generated(value="software.amazon.awssdk:codegen") public final class AssetInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetInfo.Builder,AssetInfo>
Information about hardware assets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assetId()
The ID of the asset.
|
AssetLocation |
assetLocation()
The position of an asset in a rack.
|
AssetType |
assetType()
The type of the asset.
|
String |
assetTypeAsString()
The type of the asset.
|
static AssetInfo.Builder |
builder() |
ComputeAttributes |
computeAttributes()
Information about compute hardware assets.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
rackId()
The rack ID of the asset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetInfo.Builder> |
serializableBuilderClass() |
AssetInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assetId()
The ID of the asset.
public final String rackId()
The rack ID of the asset.
public final AssetType assetType()
The type of the asset.
If the service returns an enum value that is not available in the current SDK version, assetType will
return AssetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
assetTypeAsString().
AssetTypepublic final String assetTypeAsString()
The type of the asset.
If the service returns an enum value that is not available in the current SDK version, assetType will
return AssetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
assetTypeAsString().
AssetTypepublic final ComputeAttributes computeAttributes()
Information about compute hardware assets.
public final AssetLocation assetLocation()
The position of an asset in a rack.
public AssetInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetInfo.Builder,AssetInfo>public static AssetInfo.Builder builder()
public static Class<? extends AssetInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.