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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetInfo.BuilderassetId(String assetId)The ID of the asset.default AssetInfo.BuilderassetLocation(Consumer<AssetLocation.Builder> assetLocation)The position of an asset in a rack.AssetInfo.BuilderassetLocation(AssetLocation assetLocation)The position of an asset in a rack.AssetInfo.BuilderassetType(String assetType)The type of the asset.AssetInfo.BuilderassetType(AssetType assetType)The type of the asset.default AssetInfo.BuildercomputeAttributes(Consumer<ComputeAttributes.Builder> computeAttributes)Information about compute hardware assets.AssetInfo.BuildercomputeAttributes(ComputeAttributes computeAttributes)Information about compute hardware assets.AssetInfo.BuilderrackId(String rackId)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 Detail
-
assetId
AssetInfo.Builder assetId(String 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
AssetInfo.Builder rackId(String 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
AssetInfo.Builder assetType(String assetType)
The type of the asset.
-
assetType
AssetInfo.Builder assetType(AssetType assetType)
The type of the asset.
-
computeAttributes
AssetInfo.Builder computeAttributes(ComputeAttributes 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
default AssetInfo.Builder computeAttributes(Consumer<ComputeAttributes.Builder> computeAttributes)
Information about compute hardware assets.
This is a convenience method that creates an instance of theComputeAttributes.Builderavoiding the need to create one manually viaComputeAttributes.builder().When the
Consumercompletes,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:
computeAttributes(ComputeAttributes)
-
assetLocation
AssetInfo.Builder assetLocation(AssetLocation 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
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.Builderavoiding the need to create one manually viaAssetLocation.builder().When the
Consumercompletes,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:
assetLocation(AssetLocation)
-
-