Class AssetInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssetInfo.Builder,AssetInfo>
Information about hardware assets.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringassetId()The ID of the asset.final AssetLocationThe position of an asset in a rack.final AssetTypeThe type of the asset.final StringThe type of the asset.static AssetInfo.Builderbuilder()final ComputeAttributesInformation about compute hardware assets.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringrackId()The rack ID of the asset.static Class<? extends AssetInfo.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
assetId
The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.
- Returns:
- The ID of the asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.
-
rackId
The rack ID of the asset.
- Returns:
- The rack ID of the asset.
-
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:
-
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:
-
computeAttributes
Information about compute hardware assets.
- Returns:
- Information about compute hardware assets.
-
assetLocation
The position of an asset in a rack.
- Returns:
- The position of an asset in a rack.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssetInfo.Builder,AssetInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-