Interface AssociatedAssetsSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssociatedAssetsSummary.Builder,AssociatedAssetsSummary>,SdkBuilder<AssociatedAssetsSummary.Builder,AssociatedAssetsSummary>,SdkPojo
- Enclosing class:
- AssociatedAssetsSummary
public static interface AssociatedAssetsSummary.Builder extends SdkPojo, CopyableBuilder<AssociatedAssetsSummary.Builder,AssociatedAssetsSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociatedAssetsSummary.Builderarn(String arn)The ARN of the asset, which has the following format.AssociatedAssetsSummary.BuilderassetModelId(String assetModelId)The ID of the asset model used to create the asset.AssociatedAssetsSummary.BuildercreationDate(Instant creationDate)The date the asset was created, in Unix epoch time.AssociatedAssetsSummary.Builderdescription(String description)A description for the asset.AssociatedAssetsSummary.BuilderexternalId(String externalId)The external ID of the asset.AssociatedAssetsSummary.Builderhierarchies(Collection<AssetHierarchy> hierarchies)A list of asset hierarchies that each contain ahierarchyId.AssociatedAssetsSummary.Builderhierarchies(Consumer<AssetHierarchy.Builder>... hierarchies)A list of asset hierarchies that each contain ahierarchyId.AssociatedAssetsSummary.Builderhierarchies(AssetHierarchy... hierarchies)A list of asset hierarchies that each contain ahierarchyId.AssociatedAssetsSummary.Builderid(String id)The ID of the asset, in UUID format.AssociatedAssetsSummary.BuilderlastUpdateDate(Instant lastUpdateDate)The date the asset was last updated, in Unix epoch time.AssociatedAssetsSummary.Buildername(String name)The name of the asset.default AssociatedAssetsSummary.Builderstatus(Consumer<AssetStatus.Builder> status)The current status of the asset.AssociatedAssetsSummary.Builderstatus(AssetStatus status)The current status 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
-
id
AssociatedAssetsSummary.Builder id(String id)
The ID of the asset, in UUID format.
- Parameters:
id- The ID of the asset, in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
AssociatedAssetsSummary.Builder arn(String arn)
The ARN of the asset, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}- Parameters:
arn- The ARN of the asset, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AssociatedAssetsSummary.Builder name(String name)
The name of the asset.
- Parameters:
name- The name of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelId
AssociatedAssetsSummary.Builder assetModelId(String assetModelId)
The ID of the asset model used to create the asset.
- Parameters:
assetModelId- The ID of the asset model used to create the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
AssociatedAssetsSummary.Builder creationDate(Instant creationDate)
The date the asset was created, in Unix epoch time.
- Parameters:
creationDate- The date the asset was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
AssociatedAssetsSummary.Builder lastUpdateDate(Instant lastUpdateDate)
The date the asset was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate- The date the asset was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AssociatedAssetsSummary.Builder status(AssetStatus status)
The current status of the asset.
- Parameters:
status- The current status of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default AssociatedAssetsSummary.Builder status(Consumer<AssetStatus.Builder> status)
The current status of the asset.
This is a convenience method that creates an instance of theAssetStatus.Builderavoiding the need to create one manually viaAssetStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AssetStatus).- Parameters:
status- a consumer that will call methods onAssetStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(AssetStatus)
-
hierarchies
AssociatedAssetsSummary.Builder hierarchies(Collection<AssetHierarchy> hierarchies)
A list of asset hierarchies that each contain a
hierarchyId. A hierarchy specifies allowed parent/child asset relationships.- Parameters:
hierarchies- A list of asset hierarchies that each contain ahierarchyId. A hierarchy specifies allowed parent/child asset relationships.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchies
AssociatedAssetsSummary.Builder hierarchies(AssetHierarchy... hierarchies)
A list of asset hierarchies that each contain a
hierarchyId. A hierarchy specifies allowed parent/child asset relationships.- Parameters:
hierarchies- A list of asset hierarchies that each contain ahierarchyId. A hierarchy specifies allowed parent/child asset relationships.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchies
AssociatedAssetsSummary.Builder hierarchies(Consumer<AssetHierarchy.Builder>... hierarchies)
A list of asset hierarchies that each contain a
This is a convenience method that creates an instance of thehierarchyId. A hierarchy specifies allowed parent/child asset relationships.AssetHierarchy.Builderavoiding the need to create one manually viaAssetHierarchy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hierarchies(List.) - Parameters:
hierarchies- a consumer that will call methods onAssetHierarchy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hierarchies(java.util.Collection)
-
description
AssociatedAssetsSummary.Builder description(String description)
A description for the asset.
- Parameters:
description- A description for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
AssociatedAssetsSummary.Builder externalId(String externalId)
The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.
- Parameters:
externalId- The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-