@Deprecated
    public CreateWaterMarkResponse createWaterMark(
            String bucket, String key, int horizontalOffsetInPixel, int verticalOffsetInPixel) {
        
        CreateWaterMarkRequest request =
                new CreateWaterMarkRequest().withBucket(bucket).withKey(key)
                        .withHorizontalOffsetInPixel(horizontalOffsetInPixel)
                        .withVerticalOffsetInPixel(verticalOffsetInPixel);
        return createWaterMark(request);
    }
@ Deprecated public CreateWaterMarkResponse createWaterMark ( String bucket , String key , int horizontalOffsetInPixel , int verticalOffsetInPixel ) { CreateWaterMarkRequest request = new CreateWaterMarkRequest ( ) . withBucket ( bucket ) . withKey ( key ) . withHorizontalOffsetInPixel ( horizontalOffsetInPixel ) . withVerticalOffsetInPixel ( verticalOffsetInPixel ) ; return createWaterMark ( request ) ; }
Creates a water mark and return water mark ID.

@param bucket  The bucket name of Bos object which you want to read.
@param key     The key name of Bos object which your want to read.
@param horizontalOffsetInPixel  The horizontal offset in pixels.
@param verticalOffsetInPixel    The vertical offset in pixels.

@return watermarkId the unique ID of the new water mark.