public static interface AssetInfo.Builder extends SdkPojo, CopyableBuilder<AssetInfo.Builder,AssetInfo>
| Modifier and Type | Method and Description |
|---|---|
AssetInfo.Builder |
assetId(String assetId)
The ID of the asset.
|
AssetInfo.Builder |
assetLocation(AssetLocation assetLocation)
The position of an asset in a rack.
|
default AssetInfo.Builder |
assetLocation(Consumer<AssetLocation.Builder> assetLocation)
The position of an asset in a rack.
|
AssetInfo.Builder |
assetType(AssetType assetType)
The type of the asset.
|
AssetInfo.Builder |
assetType(String assetType)
The type of the asset.
|
AssetInfo.Builder |
computeAttributes(ComputeAttributes computeAttributes)
Information about compute hardware assets.
|
default AssetInfo.Builder |
computeAttributes(Consumer<ComputeAttributes.Builder> computeAttributes)
Information about compute hardware assets.
|
AssetInfo.Builder |
rackId(String rackId)
The rack ID of the asset.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetInfo.Builder assetId(String assetId)
The ID of the asset.
assetId - The ID of the asset.AssetInfo.Builder rackId(String rackId)
The rack ID of the asset.
rackId - The rack ID of the asset.AssetInfo.Builder assetType(String assetType)
The type of the asset.
AssetInfo.Builder assetType(AssetType assetType)
The type of the asset.
AssetInfo.Builder computeAttributes(ComputeAttributes computeAttributes)
Information about compute hardware assets.
computeAttributes - Information about compute hardware assets.default AssetInfo.Builder computeAttributes(Consumer<ComputeAttributes.Builder> computeAttributes)
Information about compute hardware assets.
This is a convenience method that creates an instance of theComputeAttributes.Builder avoiding the
need to create one manually via ComputeAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to computeAttributes(ComputeAttributes).
computeAttributes - a consumer that will call methods on ComputeAttributes.BuildercomputeAttributes(ComputeAttributes)AssetInfo.Builder assetLocation(AssetLocation assetLocation)
The position of an asset in a rack.
assetLocation - The position of an asset in a rack.default AssetInfo.Builder assetLocation(Consumer<AssetLocation.Builder> assetLocation)
The position of an asset in a rack.
This is a convenience method that creates an instance of theAssetLocation.Builder avoiding the need
to create one manually via AssetLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to assetLocation(AssetLocation).
assetLocation - a consumer that will call methods on AssetLocation.BuilderassetLocation(AssetLocation)Copyright © 2022. All rights reserved.