Interface ListAssetModelsRequest.Builder

    • Method Detail

      • assetModelTypesWithStrings

        ListAssetModelsRequest.Builder assetModelTypesWithStrings​(Collection<String> assetModelTypes)

        The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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:
        assetModelTypes - The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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.
      • assetModelTypesWithStrings

        ListAssetModelsRequest.Builder assetModelTypesWithStrings​(String... assetModelTypes)

        The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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:
        assetModelTypes - The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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.
      • assetModelTypes

        ListAssetModelsRequest.Builder assetModelTypes​(Collection<AssetModelType> assetModelTypes)

        The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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:
        assetModelTypes - The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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.
      • assetModelTypes

        ListAssetModelsRequest.Builder assetModelTypes​(AssetModelType... assetModelTypes)

        The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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:
        assetModelTypes - The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

        • ASSET_MODEL – 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.
      • nextToken

        ListAssetModelsRequest.Builder nextToken​(String nextToken)

        The token to be used for the next set of paginated results.

        Parameters:
        nextToken - The token to be used for the next set of paginated results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListAssetModelsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return for each paginated request.

        Default: 50

        Parameters:
        maxResults - The maximum number of results to return for each paginated request.

        Default: 50

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assetModelVersion

        ListAssetModelsRequest.Builder assetModelVersion​(String assetModelVersion)

        The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

        Parameters:
        assetModelVersion - The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. 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.