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 SummaryModifier 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 achildAssetModelIdand ahierarchyId(namedid).assetModelHierarchies(Consumer<AssetModelHierarchy.Builder>... assetModelHierarchies) A list of asset model hierarchies that each contain achildAssetModelIdand ahierarchyId(namedid).assetModelHierarchies(AssetModelHierarchy... assetModelHierarchies) A list of asset model hierarchies that each contain achildAssetModelIdand 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.interfaceDetails(Collection<InterfaceRelationship> interfaceDetails) A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.interfaceDetails(Consumer<InterfaceRelationship.Builder>... interfaceDetails) A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.interfaceDetails(InterfaceRelationship... interfaceDetails) A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
assetModelIdThe 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.
 
- 
assetModelExternalIdThe 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.
 
- 
assetModelArnThe 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.
 
- 
assetModelNameThe 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.
 
- 
assetModelTypeThe 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:
 
- 
 
- 
assetModelTypeThe 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:
 
- 
 
- 
assetModelDescriptionThe 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.
 
- 
assetModelPropertiesDescribeAssetModelResponse.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 assetModelCompositeModelsobject.- 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 - assetModelCompositeModelsobject.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
assetModelPropertiesThe 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 assetModelCompositeModelsobject.- 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 - assetModelCompositeModelsobject.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
assetModelPropertiesDescribeAssetModelResponse.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 theassetModelCompositeModelsobject.AssetModelProperty.Builderavoiding the need to create one manually viaAssetModelProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetModelProperties(List<AssetModelProperty>).- Parameters:
- assetModelProperties- a consumer that will call methods on- AssetModelProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
assetModelHierarchiesDescribeAssetModelResponse.Builder assetModelHierarchies(Collection<AssetModelHierarchy> assetModelHierarchies) A list of asset model hierarchies that each contain a childAssetModelIdand 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 a- childAssetModelIdand a- hierarchyId(named- id). 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.
 
- 
assetModelHierarchiesDescribeAssetModelResponse.Builder assetModelHierarchies(AssetModelHierarchy... assetModelHierarchies) A list of asset model hierarchies that each contain a childAssetModelIdand 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 a- childAssetModelIdand a- hierarchyId(named- id). 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.
 
- 
assetModelHierarchiesDescribeAssetModelResponse.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 thechildAssetModelIdand ahierarchyId(namedid). A hierarchy specifies allowed parent/child asset relationships for an asset model.AssetModelHierarchy.Builderavoiding the need to create one manually viaAssetModelHierarchy.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetModelHierarchies(List<AssetModelHierarchy>).- Parameters:
- assetModelHierarchies- a consumer that will call methods on- AssetModelHierarchy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
assetModelCompositeModelsDescribeAssetModelResponse.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 type- AWS/ALARMS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
assetModelCompositeModelsDescribeAssetModelResponse.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 type- AWS/ALARMS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
assetModelCompositeModelsDescribeAssetModelResponse.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.Builderavoiding the need to create one manually viaAssetModelCompositeModel.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetModelCompositeModels(List<AssetModelCompositeModel>).- Parameters:
- assetModelCompositeModels- a consumer that will call methods on- AssetModelCompositeModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
assetModelCompositeModelSummariesDescribeAssetModelResponse.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.
 
- 
assetModelCompositeModelSummariesDescribeAssetModelResponse.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.
 
- 
assetModelCompositeModelSummariesDescribeAssetModelResponse.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.Builderavoiding the need to create one manually viaAssetModelCompositeModelSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetModelCompositeModelSummaries(List<AssetModelCompositeModelSummary>).- Parameters:
- assetModelCompositeModelSummaries- a consumer that will call methods on- AssetModelCompositeModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
assetModelCreationDateThe 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.
 
- 
assetModelLastUpdateDateThe 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.
 
- 
assetModelStatusThe 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.
 
- 
assetModelStatusdefault 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.Builderavoiding the need to create one manually viaAssetModelStatus.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetModelStatus(AssetModelStatus).- Parameters:
- assetModelStatus- a consumer that will call methods on- AssetModelStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
assetModelVersionThe 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.
 
- 
interfaceDetailsDescribeAssetModelResponse.Builder interfaceDetails(Collection<InterfaceRelationship> interfaceDetails) A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings. - Parameters:
- interfaceDetails- A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
interfaceDetailsA list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings. - Parameters:
- interfaceDetails- A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
interfaceDetailsDescribeAssetModelResponse.Builder interfaceDetails(Consumer<InterfaceRelationship.Builder>... interfaceDetails) A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings. This is a convenience method that creates an instance of theInterfaceRelationship.Builderavoiding the need to create one manually viaInterfaceRelationship.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointerfaceDetails(List<InterfaceRelationship>).- Parameters:
- interfaceDetails- a consumer that will call methods on- InterfaceRelationship.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
eTagThe 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.
 
 
-