Interface AssetInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetInfo.Builder,
,AssetInfo> SdkBuilder<AssetInfo.Builder,
,AssetInfo> SdkPojo
- Enclosing class:
AssetInfo
public static interface AssetInfo.Builder
extends SdkPojo, CopyableBuilder<AssetInfo.Builder,AssetInfo>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the asset.default AssetInfo.Builder
assetLocation
(Consumer<AssetLocation.Builder> assetLocation) The position of an asset in a rack.assetLocation
(AssetLocation assetLocation) The position of an asset in a rack.The type of the asset.The type of the asset.default AssetInfo.Builder
computeAttributes
(Consumer<ComputeAttributes.Builder> computeAttributes) Information about compute hardware assets.computeAttributes
(ComputeAttributes computeAttributes) Information about compute hardware assets.The rack ID of the asset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assetId
The ID of the asset.
- Parameters:
assetId
- The ID of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rackId
The rack ID of the asset.
- Parameters:
rackId
- The rack ID of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetType
The type of the asset.
- Parameters:
assetType
- The type of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetType
The type of the asset.
- Parameters:
assetType
- The type of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computeAttributes
Information about compute hardware assets.
- Parameters:
computeAttributes
- Information about compute hardware assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaComputeAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeAttributes(ComputeAttributes)
.- Parameters:
computeAttributes
- a consumer that will call methods onComputeAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetLocation
The position of an asset in a rack.
- Parameters:
assetLocation
- The position of an asset in a rack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAssetLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetLocation(AssetLocation)
.- Parameters:
assetLocation
- a consumer that will call methods onAssetLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-