Interface DescribeAssetModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAssetModelResponse.Builder,
,DescribeAssetModelResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeAssetModelResponse.Builder,
,DescribeAssetModelResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAssetModelResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetModelArn
(String assetModelArn) The ARN of the asset model, which has the following format.assetModelCompositeModels
(Collection<AssetModelCompositeModel> assetModelCompositeModels) The list of built-in composite models for the asset model, such as those with those of typeAWS/ALARMS
.assetModelCompositeModels
(Consumer<AssetModelCompositeModel.Builder>... assetModelCompositeModels) The list of built-in composite models for the asset model, such as those with those of typeAWS/ALARMS
.assetModelCompositeModels
(AssetModelCompositeModel... assetModelCompositeModels) The list of built-in composite models for the asset model, such as those with those of typeAWS/ALARMS
.assetModelCompositeModelSummaries
(Collection<AssetModelCompositeModelSummary> assetModelCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset model.assetModelCompositeModelSummaries
(Consumer<AssetModelCompositeModelSummary.Builder>... assetModelCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset model.assetModelCompositeModelSummaries
(AssetModelCompositeModelSummary... assetModelCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset model.assetModelCreationDate
(Instant assetModelCreationDate) The date the asset model was created, in Unix epoch time.assetModelDescription
(String assetModelDescription) The asset model's description.assetModelExternalId
(String assetModelExternalId) The external ID of the asset model, if any.assetModelHierarchies
(Collection<AssetModelHierarchy> assetModelHierarchies) A list of asset model hierarchies that each contain achildAssetModelId
and ahierarchyId
(namedid
).assetModelHierarchies
(Consumer<AssetModelHierarchy.Builder>... assetModelHierarchies) A list of asset model hierarchies that each contain achildAssetModelId
and ahierarchyId
(namedid
).assetModelHierarchies
(AssetModelHierarchy... assetModelHierarchies) A list of asset model hierarchies that each contain achildAssetModelId
and ahierarchyId
(namedid
).assetModelId
(String assetModelId) The ID of the asset model, in UUID format.assetModelLastUpdateDate
(Instant assetModelLastUpdateDate) The date the asset model was last updated, in Unix epoch time.assetModelName
(String assetModelName) The name of the asset model.assetModelProperties
(Collection<AssetModelProperty> assetModelProperties) The list of asset properties for the asset model.assetModelProperties
(Consumer<AssetModelProperty.Builder>... assetModelProperties) The list of asset properties for the asset model.assetModelProperties
(AssetModelProperty... assetModelProperties) The list of asset properties for the asset model.assetModelStatus
(Consumer<AssetModelStatus.Builder> assetModelStatus) The current status of the asset model, which contains a state and any error message.assetModelStatus
(AssetModelStatus assetModelStatus) The current status of the asset model, which contains a state and any error message.assetModelType
(String assetModelType) The type of asset model.assetModelType
(AssetModelType assetModelType) The type of asset model.assetModelVersion
(String assetModelVersion) The version of the asset model.The entity tag (ETag) is a hash of the retrieved version of the asset model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetModelId
The ID of the asset model, in UUID format.
- Parameters:
assetModelId
- The ID of the asset model, in UUID format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelExternalId
The external ID of the asset model, if any.
- Parameters:
assetModelExternalId
- The external ID of the asset model, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelArn
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}
- Parameters:
assetModelArn
- 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.
-
assetModelName
The name of the asset model.
- Parameters:
assetModelName
- The name of the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelType
The type of asset model.
-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
- Parameters:
assetModelType
- The type of asset model.-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
assetModelType
The type of asset model.
-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
- Parameters:
assetModelType
- The type of asset model.-
ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.
-
COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
assetModelDescription
The asset model's description.
- Parameters:
assetModelDescription
- The asset model's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelProperties
DescribeAssetModelResponse.Builder assetModelProperties(Collection<AssetModelProperty> assetModelProperties) The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetModelCompositeModels
object.- Parameters:
assetModelProperties
- The list of asset properties for the asset model.This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetModelCompositeModels
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelProperties
The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetModelCompositeModels
object.- Parameters:
assetModelProperties
- The list of asset properties for the asset model.This object doesn't include properties that you define in composite models. You can find composite model properties in the
assetModelCompositeModels
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelProperties
DescribeAssetModelResponse.Builder assetModelProperties(Consumer<AssetModelProperty.Builder>... assetModelProperties) The list of asset properties for the asset model.
This object doesn't include properties that you define in composite models. You can find composite model properties in the
This is a convenience method that creates an instance of theassetModelCompositeModels
object.AssetModelProperty.Builder
avoiding the need to create one manually viaAssetModelProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetModelProperties(List<AssetModelProperty>)
.- Parameters:
assetModelProperties
- a consumer that will call methods onAssetModelProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetModelHierarchies
DescribeAssetModelResponse.Builder assetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies) A list of asset model hierarchies that each contain a
childAssetModelId
and ahierarchyId
(namedid
). A hierarchy specifies allowed parent/child asset relationships for an asset model.- Parameters:
assetModelHierarchies
- A list of asset model hierarchies that each contain achildAssetModelId
and ahierarchyId
(namedid
). A hierarchy specifies allowed parent/child asset relationships for an asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelHierarchies
DescribeAssetModelResponse.Builder assetModelHierarchies(AssetModelHierarchy... assetModelHierarchies) A list of asset model hierarchies that each contain a
childAssetModelId
and ahierarchyId
(namedid
). A hierarchy specifies allowed parent/child asset relationships for an asset model.- Parameters:
assetModelHierarchies
- A list of asset model hierarchies that each contain achildAssetModelId
and ahierarchyId
(namedid
). A hierarchy specifies allowed parent/child asset relationships for an asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelHierarchies
DescribeAssetModelResponse.Builder assetModelHierarchies(Consumer<AssetModelHierarchy.Builder>... assetModelHierarchies) A list of asset model hierarchies that each contain a
This is a convenience method that creates an instance of thechildAssetModelId
and ahierarchyId
(namedid
). A hierarchy specifies allowed parent/child asset relationships for an asset model.AssetModelHierarchy.Builder
avoiding the need to create one manually viaAssetModelHierarchy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetModelHierarchies(List<AssetModelHierarchy>)
.- Parameters:
assetModelHierarchies
- a consumer that will call methods onAssetModelHierarchy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetModelCompositeModels
DescribeAssetModelResponse.Builder assetModelCompositeModels(Collection<AssetModelCompositeModel> assetModelCompositeModels) The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.- Parameters:
assetModelCompositeModels
- The list of built-in composite models for the asset model, such as those with those of typeAWS/ALARMS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelCompositeModels
DescribeAssetModelResponse.Builder assetModelCompositeModels(AssetModelCompositeModel... assetModelCompositeModels) The list of built-in composite models for the asset model, such as those with those of type
AWS/ALARMS
.- Parameters:
assetModelCompositeModels
- The list of built-in composite models for the asset model, such as those with those of typeAWS/ALARMS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelCompositeModels
DescribeAssetModelResponse.Builder assetModelCompositeModels(Consumer<AssetModelCompositeModel.Builder>... assetModelCompositeModels) The list of built-in composite models for the asset model, such as those with those of type
This is a convenience method that creates an instance of theAWS/ALARMS
.AssetModelCompositeModel.Builder
avoiding the need to create one manually viaAssetModelCompositeModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetModelCompositeModels(List<AssetModelCompositeModel>)
.- Parameters:
assetModelCompositeModels
- a consumer that will call methods onAssetModelCompositeModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetModelCompositeModelSummaries
DescribeAssetModelResponse.Builder assetModelCompositeModelSummaries(Collection<AssetModelCompositeModelSummary> assetModelCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset model.
- Parameters:
assetModelCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelCompositeModelSummaries
DescribeAssetModelResponse.Builder assetModelCompositeModelSummaries(AssetModelCompositeModelSummary... assetModelCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset model.
- Parameters:
assetModelCompositeModelSummaries
- The list of the immediate child custom composite model summaries for the asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelCompositeModelSummaries
DescribeAssetModelResponse.Builder assetModelCompositeModelSummaries(Consumer<AssetModelCompositeModelSummary.Builder>... assetModelCompositeModelSummaries) The list of the immediate child custom composite model summaries for the asset model.
This is a convenience method that creates an instance of theAssetModelCompositeModelSummary.Builder
avoiding the need to create one manually viaAssetModelCompositeModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetModelCompositeModelSummaries(List<AssetModelCompositeModelSummary>)
.- Parameters:
assetModelCompositeModelSummaries
- a consumer that will call methods onAssetModelCompositeModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assetModelCreationDate
The date the asset model was created, in Unix epoch time.
- Parameters:
assetModelCreationDate
- 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.
-
assetModelLastUpdateDate
The date the asset model was last updated, in Unix epoch time.
- Parameters:
assetModelLastUpdateDate
- 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.
-
assetModelStatus
The current status of the asset model, which contains a state and any error message.
- Parameters:
assetModelStatus
- The current status of the asset model, which contains a state and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelStatus
default DescribeAssetModelResponse.Builder assetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus) The current status of the asset model, which contains a state and any error message.
This is a convenience method that creates an instance of theAssetModelStatus.Builder
avoiding the need to create one manually viaAssetModelStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetModelStatus(AssetModelStatus)
.- Parameters:
assetModelStatus
- 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:
-
assetModelVersion
The version of the asset model. See Asset model versions in the IoT SiteWise User Guide.
- Parameters:
assetModelVersion
- The version of the asset model. See Asset model versions in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
The entity tag (ETag) is a hash of the retrieved version of the asset model. It's used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
- Parameters:
eTag
- The entity tag (ETag) is a hash of the retrieved version of the asset model. It's used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.See Optimistic locking for asset model writes in the IoT SiteWise User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-