Class AssetInfo
- java.lang.Object
-
- software.amazon.awssdk.services.outposts.model.AssetInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssetInfo.Builder,AssetInfo>
@Generated("software.amazon.awssdk:codegen") public final class AssetInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetInfo.Builder,AssetInfo>
Information about hardware assets.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssetInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassetId()The ID of the asset.AssetLocationassetLocation()The position of an asset in a rack.AssetTypeassetType()The type of the asset.StringassetTypeAsString()The type of the asset.static AssetInfo.Builderbuilder()ComputeAttributescomputeAttributes()Information about compute hardware assets.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrackId()The rack ID of the asset.List<SdkField<?>>sdkFields()static Class<? extends AssetInfo.Builder>serializableBuilderClass()AssetInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
assetId
public final String assetId()
The ID of the asset.
- Returns:
- The ID of the asset.
-
rackId
public final String rackId()
The rack ID of the asset.
- Returns:
- The rack ID of the asset.
-
assetType
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,
assetTypewill returnAssetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassetTypeAsString().- Returns:
- The type of the asset.
- See Also:
AssetType
-
assetTypeAsString
public final String assetTypeAsString()
The type of the asset.
If the service returns an enum value that is not available in the current SDK version,
assetTypewill returnAssetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassetTypeAsString().- Returns:
- The type of the asset.
- See Also:
AssetType
-
computeAttributes
public final ComputeAttributes computeAttributes()
Information about compute hardware assets.
- Returns:
- Information about compute hardware assets.
-
assetLocation
public final AssetLocation assetLocation()
The position of an asset in a rack.
- Returns:
- The position of an asset in a rack.
-
toBuilder
public AssetInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssetInfo.Builder,AssetInfo>
-
builder
public static AssetInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssetInfo.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.
-
-