Interface DeleteAssetModelCompositeModelRequest.Builder

    • Method Detail

      • assetModelId

        DeleteAssetModelCompositeModelRequest.Builder assetModelId​(String 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.
      • assetModelCompositeModelId

        DeleteAssetModelCompositeModelRequest.Builder assetModelCompositeModelId​(String assetModelCompositeModelId)

        The ID of a composite model on this asset model.

        Parameters:
        assetModelCompositeModelId - The ID of a composite model on this asset model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        DeleteAssetModelCompositeModelRequest.Builder clientToken​(String clientToken)

        A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

        Parameters:
        clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ifMatch

        DeleteAssetModelCompositeModelRequest.Builder ifMatch​(String ifMatch)

        The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

        Parameters:
        ifMatch - The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. 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.
      • ifNoneMatch

        DeleteAssetModelCompositeModelRequest.Builder ifNoneMatch​(String ifNoneMatch)

        Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

        Parameters:
        ifNoneMatch - Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • matchForVersionType

        DeleteAssetModelCompositeModelRequest.Builder matchForVersionType​(String matchForVersionType)

        Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

        Parameters:
        matchForVersionType - Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssetModelVersionType, AssetModelVersionType
      • matchForVersionType

        DeleteAssetModelCompositeModelRequest.Builder matchForVersionType​(AssetModelVersionType matchForVersionType)

        Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

        Parameters:
        matchForVersionType - Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssetModelVersionType, AssetModelVersionType