Class DeleteAssetModelCompositeModelRequest

    • Method Detail

      • assetModelId

        public final String assetModelId()

        The ID of the asset model, in UUID format.

        Returns:
        The ID of the asset model, in UUID format.
      • assetModelCompositeModelId

        public final String assetModelCompositeModelId()

        The ID of a composite model on this asset model.

        Returns:
        The ID of a composite model on this asset model.
      • clientToken

        public final 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.

        Returns:
        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.
      • ifMatch

        public final 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.

        Returns:
        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.
      • ifNoneMatch

        public final String ifNoneMatch()

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

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

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, matchForVersionType will return AssetModelVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from matchForVersionTypeAsString().

        Returns:
        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.
        See Also:
        AssetModelVersionType
      • matchForVersionTypeAsString

        public final String matchForVersionTypeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, matchForVersionType will return AssetModelVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from matchForVersionTypeAsString().

        Returns:
        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.
        See Also:
        AssetModelVersionType
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object