Interface AssetModelSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetModelSummary.Builder,AssetModelSummary>,SdkBuilder<AssetModelSummary.Builder,AssetModelSummary>,SdkPojo
- Enclosing class:
- AssetModelSummary
public static interface AssetModelSummary.Builder extends SdkPojo, CopyableBuilder<AssetModelSummary.Builder,AssetModelSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetModelSummary.Builderarn(String arn)The ARN of the asset model, which has the following format.AssetModelSummary.BuildercreationDate(Instant creationDate)The date the asset model was created, in Unix epoch time.AssetModelSummary.Builderdescription(String description)The asset model description.AssetModelSummary.Builderid(String id)The ID of the asset model (used with IoT SiteWise APIs).AssetModelSummary.BuilderlastUpdateDate(Instant lastUpdateDate)The date the asset model was last updated, in Unix epoch time.AssetModelSummary.Buildername(String name)The name of the asset model.default AssetModelSummary.Builderstatus(Consumer<AssetModelStatus.Builder> status)The current status of the asset model.AssetModelSummary.Builderstatus(AssetModelStatus status)The current status of the asset model.-
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
-
id
AssetModelSummary.Builder id(String id)
The ID of the asset model (used with IoT SiteWise APIs).
- Parameters:
id- The ID of the asset model (used with IoT SiteWise APIs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
AssetModelSummary.Builder arn(String arn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}- Parameters:
arn- The ARN of the asset model, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AssetModelSummary.Builder name(String name)
The name of the asset model.
- Parameters:
name- The name of the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AssetModelSummary.Builder description(String description)
The asset model description.
- Parameters:
description- The asset model description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
AssetModelSummary.Builder creationDate(Instant creationDate)
The date the asset model was created, in Unix epoch time.
- Parameters:
creationDate- The date the asset model was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
AssetModelSummary.Builder lastUpdateDate(Instant lastUpdateDate)
The date the asset model was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate- The date the asset model was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AssetModelSummary.Builder status(AssetModelStatus status)
The current status of the asset model.
- Parameters:
status- The current status of the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default AssetModelSummary.Builder status(Consumer<AssetModelStatus.Builder> status)
The current status of the asset model.
This is a convenience method that creates an instance of theAssetModelStatus.Builderavoiding the need to create one manually viaAssetModelStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AssetModelStatus).- Parameters:
status- a consumer that will call methods onAssetModelStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(AssetModelStatus)
-
-